How can I get MAC address of the device in objective C or swift. Is there any way to obtain MAC address from the field "Identifier".
Asked
Active
Viewed 1,625 times
2
-
Please [edit] your question to show [the code you have so far](http://whathaveyoutried.com). You should include at least an outline (but preferably a [mcve]) of the code that you are having problems with, then we can try to help with the specific problem. You should also read [ask]. – Toby Speight Aug 03 '17 at 11:55
-
not possible to get mac address of peripheral in ios, so use UUID for identity of peripheral. – Deepak Tagadiya Aug 15 '17 at 19:20
-
In iOS not possible to get peripheral mac address, ios generate UUID(identifier) for peripheral. Other way is identifier via RSSI value. – Deepak Tagadiya Sep 02 '17 at 13:34
1 Answers
-1
No any public API for getting MAC address with BLE.
If you want to get with jailbroken device, then you can get with this link

Shah Nilay
- 778
- 3
- 21