How to get name of paired MFI device to iPhone via bluetooth?
-
10-02-2021 - |
Question
I have a MFi keyboard. It is already paired to the iPhone via bluetooth.
I want to programmatically get the name of the paired keyboard. I searched some forums and they say it's possible to do that...
But how do we get the name using "External Accessory"?
A sample code would help me a lot.
Thanks
Solution
Initialize your EAAccessory object and then call the property name on your accessory object
NSLog(@"%@",connectedAccessory.name);
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow