我在识别什么是外围设备时遇到了麻烦,这通常会导致我能够正确地NSLog()它。
- (void)centralManager:(CBCentralManager *)central didRetrievePeripherals:(NSArray *)peripherals {
NSLog(@"discovered peripherals: %@", howToListPeriphalsForDebugging);
}谢谢
发布于 2013-07-13 06:24:47
尝试更改:
NSLog(@"discovered peripherals: %@", howToListPeriphalsForDebugging);至:
NSLog(@"discovered peripherals: %@", peripherals);https://stackoverflow.com/questions/13636918
复制相似问题