Question

Possible Duplicate:
How to get IMEI on iPhone?

How to get imei number from iPhone programmatically?

Était-ce utile?

La solution

It have some difficult get the IMEI number programatically. However, if you're looking for a way to identify a particular phone, you can use the UDID (Unique Device Identifier) to do so.

 NSString *UDID = [[UIDevice currentDevice] uniqueIdentifier];

and also try this for IMEI

NSString *imei = [[NetworkController sharedInstance] IMEI];
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top