jjzjj

bleDevice

全部标签

ios - 找出用户要求绑定(bind) BLe 设备的决定(Objective-C,iOS 10)

是否可以让用户决定iOS的绑定(bind)请求?选择1:放弃选择2:连接/绑定(bind)绑定(bind)请求截图:我尝试使用centralManagerDidUpdateState,但如果我打开蓝牙,它只会通过CBManagerStatePoweredOn调用一次。#pragmamark-CBCentralManagerDelegate-(void)centralManagerDidUpdateState:(CBCentralManager*)central{info(@"centralManagerDidUpdateState");switch(central.state){cas