简体   繁体   English

以编程方式唯一地标识iOS 7及更高版本上的设备

[英]Uniquely identify programatically a device on iOS 7 and later

In my Android app I am identifying a device and a SIM card reading the IMEI and IMSI respectively. 在我的Android应用中,我正在识别分别读取IMEI和IMSI的设备和SIM卡。

How can I do it programmatically on iOS 7 and later? 如何在iOS 7及更高版本上以编程方式进行操作? I see that the UUID identifies the app + device, and it changes every time you reinstall it, so it doesn't work for me. 我看到UUID可以识别应用程序+设备,并且每次您重新安装时它都会更改,因此它对我不起作用。

Any ideas? 有任何想法吗?

There is no FIXED (publicly available) ID anymore. 不再有FIXED(公开可用)ID。 UUID is off limits and using the mac address isn't fixed UUID超出限制,使用mac地址不固定

identifierForVendor changes on reinstall but thats all you have :) identifierForVendor会在重新安装时发生更改,但这就是您拥有的全部:)


EXCEPT if you want / can argue you do advertising. 除非您想/可以说您做广告。 Then you can checkout the advertisingIdentifier [dont try to abuse it though!] 然后你就可以检出advertisingIdentifier [不要尝试,虽然滥用它!]

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM