Retrieving device WiFi MAC address with iOS 7

自作多情 提交于 2019-12-31 03:19:12

问题


Our app is using device WiFiMAC address to uniquely identify a device. As per the Apple doumentation we shall start using identifierForVendor property of UIDevice but my app is strongly dependent on WiFi MAC address. At run time, app users look into device settings and fetch the WiFi Mac address and manually put them in some tool to enable some feature on server side. Has anyone retrieved the device WiFi MAC address with iOS 7?


回答1:


This was intentionally removed from the SDK in iOS 7. You can no longer retrieve the MAC address. Techcrunch has one of several stories on it, and it was confirmed at WWDC.




回答2:


Use libimobiledevice and from command line run: ./ideviceinfo -k WiFiAddress



来源:https://stackoverflow.com/questions/19819838/retrieving-device-wifi-mac-address-with-ios-7

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