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

Was it helpful?

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
scroll top