Trouble with MAC address in iOS 7.0.2

前端 未结 1 1147
醉梦人生
醉梦人生 2020-12-21 13:15

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条回答
  • 2020-12-21 14:05

    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.

    0 讨论(0)
提交回复
热议问题