views:

122

answers:

1
eaManager = [EAAccessoryManager sharedAccessoryManager];
[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?

+1  A: 

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.

Brad Larson