[英]CBCentralManager: how to determine which peripheral is the manager scanning for
我想知道如何确定CBCentralManager扫描哪些外围设备而不使用其他变量 ,换句话说,仅从CBCentralManager对象进行扫描。
Looks like the only useful API from CBCentralManager, retrievePeripherals:
was totally removed as of iOS 9. My guess Apple did this because of some fuzzy security concern (eg malicious software scanning for Bluetooth devices to exploit?). 似乎CBCentralManager中唯一有用的API,
retrievePeripherals:
在iOS 9上已被完全删除。我之所以认为苹果这样做是因为存在一些模糊的安全问题(例如,恶意软件扫描蓝牙设备以进行利用吗?)。
The replacement within CBCentralManager, retrievePeripheralsWithIdentifiers:
requires a list of device identifiers already known to the app. 在CBCentralManager中进行替换,
retrievePeripheralsWithIdentifiers:
需要该应用程序已知的设备标识符列表。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.