Possible Duplicate:
How to get IMEI on iPhone?

How to get imei number from iPhone programmatically?

有帮助吗?

解决方案

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];
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top