开发者

How to access EAAccessories?

eaManager = [EAAccessoryManager sharedAccessoryManager];
开发者_Go百科[eaManager registerForLocalNotifications];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(gotDevice)  name:EAAccessoryDidConnectNotification object:nil];

[eaManager connectedDevices] is always empty.

How can I pair to a accessory?


You need to connect your iPhone to a Made for iPod program device which provides a protocol for being accessed by the External Accessory framework. There aren't many of those out there right now. I believe that TomTom's iPhone Car Kit is one of them, but I can't think of others.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜