Ios EAAccessory showBluetoothAccessoryPickerWithNameFilter方法始终显示为空且无法列出设备
我试图使用showBluetoothAccessoryPickerWithNameFilter:nil completion:nil方法在我的应用程序中显示选择器,但它始终显示空列表。我已经在我的应用程序中包含了协议字符串。如果我使用设备的设置页面,我可以看到我的MFI设备,并配对和连接到它。但它拒绝在选择器生成的警报框中显示它。有什么帮助吗?我正在使用iOS 7.0Ios EAAccessory showBluetoothAccessoryPickerWithNameFilter方法始终显示为空且无法列出设备,ios,external-accessory,Ios,External Accessory,我试图使用showBluetoothAccessoryPickerWithNameFilter:nil completion:nil方法在我的应用程序中显示选择器,但它始终显示空列表。我已经在我的应用程序中包含了协议字符串。如果我使用设备的设置页面,我可以看到我的MFI设备,并配对和连接到它。但它拒绝在选择器生成的警报框中显示它。有什么帮助吗?我正在使用iOS 7.0 [[EAAccessoryManager sharedAccessoryManager] showBluetoothAccess
[[EAAccessoryManager sharedAccessoryManager] showBluetoothAccessoryPickerWithNameFilter:nil completion:^(NSError *error) {
if (error) {
NSLog(@"error :%@", error);
}
else{
NSLog(@"You make it! Well done!!!");
}
}];
[[eAccessoryManager sharedAccessoryManager]connectedAccessories]是否返回任何内容?是的。它可以返回我连接的附件列表。但现在我正试图通过这个选择器完成配对。