如何在iPhone上获取IMEI?

如何在iPhone上获取IMEI?

我想在iPhone上获取IMEI。我尝试使用以下代码:

#import "Message/NetworkController.h"NetworkController *ntc=[[NetworkController sharedInstance] autorelease];NSString *imeistring = [ntc IMEI];

但是找不到NetworkController。

我还发现我可以使用以下方法获得uniqueIdentifier:

UIDevice *myDevice = [UIDevice currentDevice];NSString *identifier = myDevice.uniqueIdentifier;

但这无法帮助我获得IMEI。

如何在iPhone上获取IMEI?


米脂
浏览 1186回答 3
3回答

翻阅古今

您无法在iPhone上以编程方式找到IMEI。
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

iOS