-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
pheripheral is null
how can i get it?? i'm on iOS 8.1
NSDictionary * opts = nil;
if ([[UIDevice currentDevice].systemVersion floatValue]>=7.0)
{
//DebugLog(@"%f",[[UIDevice currentDevice].systemVersion floatValue]);
opts = @{CBCentralManagerOptionShowPowerAlertKey:@YES};
}
central = [[RKCentralManager alloc] initWithQueue:nil options:opts];
[central scanForPeripheralsWithServices:nil options:@{CBCentralManagerScanOptionAllowDuplicatesKey:@NO} onUpdated:^(RKPeripheral *peripheral) {
NSLog(@"%@", peripheral);
}];
Metadata
Metadata
Assignees
Labels
No labels