質問

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

役に立ちましたか?

解決

Initialize your EAAccessory object and then call the property name on your accessory object

NSLog(@"%@",connectedAccessory.name);
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top