本文介绍了如何以编程方式获取iPhone的蓝牙MAC地址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试对iPhone进行一些接近检测,但我需要以编程方式获取蓝牙 MAC地址。有谁知道怎么做?
I'm trying to do some proximity detection of iPhones but I need to get their Bluetooth MAC address programmatically. Does anyone knows how ?
我认为蓝牙已激活但没有设备与iPhone配对。
I assume Bluetooth is activated but no device is paired with the iPhone.
推荐答案没有公共API来获取此信息。
There is no public API to get this information.
如果这是内部或越狱应用程序,您可以获得 kLockdownBluetoothAddressKey 密钥通过 liblockdown.dylib
If this is an internal or jailbreak application you can get the value of the kLockdownBluetoothAddressKey key via liblockdown.dylib
更多推荐
如何以编程方式获取iPhone的蓝牙MAC地址?
发布评论