Posts

Post not yet marked as solved
0 Replies
1.1k Views
Hi everyone.I'm facing a really weird issue with the ExternalAccessory framework. I've the following instruction inside my codeNSArray *accessories = [[EAAccessoryManager sharedAccessoryManager] connectedAccessories];to retrieve the Bluetooth accessories connected to my device. I know this framework only works with MFi certified peripherals and I have all the needed protocols declared inside the Supported External Accessory Protocols in my Info.plist file.This is working fine, except in one case: when I restart my iOS device and launch my test app again, the connectedAccessories method returns zero accessories, even if the peripheral is turned on and connected (in the Bluetooth settings, the accessory appears connected and the Bluetooth icon in the status bar is active).I'm currently facing this issue on iPhone 4S with iOS 9.1, but it is also replicable on other devices and iOS versions.
Posted
by dree39.
Last updated
.