我无法确定哪些外围设备通常会使我能够正确地使用NSLog()。
- (void)centralManager:(CBCentralManager *)central didRetrievePeripherals:(NSArray *)peripherals {
NSLog(@"discovered peripherals: %@", howToListPeriphalsForDebugging);
}
由于
答案 0 :(得分:0)
尝试更改:
NSLog(@"discovered peripherals: %@", howToListPeriphalsForDebugging);
要:
NSLog(@"discovered peripherals: %@", peripherals);