How to get the wifi mac address on iPhone in Swift?
问题 Is there a way to get the real Wi-Fi MAC address of the IOS device using Swift language? Code snippet much appreciated! Thanks. 回答1: When you request the Device MAC address in iOS 7 and above you will always get the same response: 02:00:00:00:00:00 , this has been made by Apple for privacy concerns. In iOS 7 and later, if you ask for the MAC address of an iOS device, the system returns the value 02:00:00:00:00:00. If you need to identify the device, use the identifierForVendor property of