I am trying to create an application that communicates with an external accessory (via Bluetooth). To make the application user-friendly, I would like it to not go into the settings for connecting to an accessory, but to show an accessory builder that includes iOS 6.0.
To achieve this, a simple call will sound:
[[EAAccessoryManager sharedAccessoryManager] showBluetoothAccessoryPickerWithNameFilter:nil completion:nil];
I currently do not use filter and termination (both can be zero according to iOS Class Reference ) - even if I tried to use them too.
Now the problem is that my accessory appears for 2 to 10 seconds , and then disappears from the list until I cancel the popup and show it again. Another problem is that sometimes it does not appear at all. I also made sure that the device is already paired but not connected.
I tried to use another accessory (one that I myself did not do) and with different devices (iPhone 4, 4S, 5 - iPad - iPod Touch) without success.
Are there any similar problems? If so, how did you solve it? Is this an iOS bug? Is this an additional error?
Thanks for any answer.
source
share