Is there a way to get imei number of device using objective c?

I did some searching with Google, and found this thread on Stack Overflow that describes how to do it:

How to get IMEI on iPhone? - Stack Overflow

That thread, in turn, points you to Erica Sadun's site. She's a well-regarded iOS developer and author on iPhone development.

It sounds like it is possible, but only by using a private framework. Thus you can do it, but if you try to submit an app to the store that uses a private framework it will be rejected.

So, for your own private use it's possible.

Is there an officially supported way to get imei?

Posted on Oct 13, 2013 1:56 AM

Reply
5 replies

Oct 13, 2013 9:14 AM in response to shiransilv

Given that thread is 3~4 years old, you shouldn't waste much time with it today.


Devs aren't allowed to harvest that information, so maybe if you can explain why you want it, someone can point you to another, more current thread (I doubt your need is new/unique) that discusses your specific example, etc.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Is there a way to get imei number of device using objective c?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.