0

我无法确定通常会导致我能够正确使用 NSLog() 的外围设备是什么。

- (void)centralManager:(CBCentralManager *)central didRetrievePeripherals:(NSArray *)peripherals {
  NSLog(@"discovered peripherals: %@", howToListPeriphalsForDebugging);
}

谢谢

4

1 回答 1

0

尝试改变:

NSLog(@"discovered peripherals: %@", howToListPeriphalsForDebugging);

至:

NSLog(@"discovered peripherals: %@", peripherals);
于 2013-07-12T22:24:47.187 回答