1
可以通过蓝牙核心框架,我连接两个的iDevice我使用下面的代码片段:如何使用corebluetooth连接两个iPhone?
cBCM = [[CBCentralManager alloc] initWithDelegate:self queue:nil];
[cBCM scanForPeripheralsWithServices:nil options:nil];
- (void)peripheral:(CBPeripheral *)peripheral didDiscoverCharacteristicsForService:(CBService *)service error:(NSError *)error {
}
但代表们不触发的。任何解决方案