This question already has answers here:
Finding IMEI number using Objective-C [duplicate]

(5 个回答)


10 个月前关闭。




我使用以下代码在objective-c中获取iPhone的IMEI号码:
NSString *imei = [[NetworkController sharedInstance] IMEI];

但是我收到了这个错误, Use of undeclared identifier "NetworkController"
我已导入 AFNetworking.h,但无法解决此错误。
有人可以帮我解决这个问题吗?

最佳答案

You can get the UDID, but can not get the IMEI.Apple does not allow this.

关于ios - 如何以编程方式获取iPhone的IMEI号码?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/41278494/

10-12 00:00