How does iOS app Fing get MAC Address?

笑着哭i 提交于 2019-12-18 02:49:39

问题


I known Apple stopped MAC address API since iOS 7. But I just found the app Fing can get MAC address. How could it happen?

If I use samillar way to get MAC address, is it allowed by iTunes review?

BTW: the How to get iOS device MAC address programmatically doesn't really help. I need MAC address, not [UIDevice identifierForVendor].


回答1:


Fing can only get the device's MAC address if the device is connected to a WiFi network. I suspect it implements an ARP scan on the local network and matches the known local IP address to determine the local MAC address.

There are some questions that address capturing ARP data here and here




回答2:


What Fing does is it pings each IP on the network and builds the ARP Cache and then it reads the Mac Address from the Arp Cache table.




回答3:


Here is my own answer after half year.

It is possible to check ARP table on iOS device to get iOS device MAC address, technically. See this: How do I query the ARP table on iPhone?

However, the App Store will reject your App by this. But, people said fetch the host, router and other device's MAC address will be fine. I haven't proved it yet.



来源:https://stackoverflow.com/questions/27099108/how-does-ios-app-fing-get-mac-address

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