Question

calling #*06# tells the IMEI ( International Mobile Equipment Identity ) of the device. I checked International Numbering Plans and found out that this actually is the IMEI number.

Is it possible to obtain it programmatically?

Thanks

Was it helpful?

Solution

You cannot get device IMEI programmatically. However UIDevice class has "unique device identifier" property.

@property(nonatomic, readonly, retain) NSString *uniqueIdentifier

A unique device identifier is a hash value composed from various hardware identifiers such as the device’s serial number. It is guaranteed to be unique for every device but cannot publically be tied to a user account. You can use it, for example, to store high scores for a game in a central server or to control access to registered products. The unique device identifier is sometimes referred to by its abbreviation UDID.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top