Trouble with MAC address in iOS 7.0.2

这一生的挚爱 提交于 2019-11-28 10:10:57

问题


From iOS 7.0.2 the MAC address is: 02:00:00:00:00:00. How can I read real one in iOS? Is this unvailable from 7.0.2, or not? How do it?


回答1:


This is a privacy change, so there's no way to get at the underlying MAC address. https://developer.apple.com/news/?id=8222013a

If your apps use the MAC address to identify an iOS device, the system will return the same static value for all devices running iOS 7. Please update your apps to use the identifierForVendor property of UIDevice. If you need an identifier for advertising purposes, use the advertisingIdentifier property of ASIdentifierManager.



来源:https://stackoverflow.com/questions/19097888/trouble-with-mac-address-in-ios-7-0-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!