It's for AppStore, so I don't want any private framework.
I want to get the list of the paired(even not connected).
There are Core Bluetooth and External Accessary frameworks in iOS. I tried both of these, but nothing listed.
Tyr to use this one but i'm not sure its working or not for offline devices.
Create EAAccessory object and initialize it. And then call the property name on your accessory object
NSArray *accessories = [[EAAccessoryManager sharedAccessoryManager]
connectedAccessories];
EAAccessory *accessory = nil;
for (EAAccessory *obj in accessories)
{
NSLog(@"Found accessory named: %@", obj.name);
}
来源:https://stackoverflow.com/questions/17021233/how-to-get-the-list-of-the-paired-devices-through-bluetooth-in-ios