1

I have looked through the developer library and found much useful info but still no answer to my question.

The question: Is it possible to have my app run primarily in the background, monitoring the audio route of the phone in general, and reacting to any change in the route with whichever code I choose? I understand that I must keep within the guidelines of apps running in the background and providing a useful service.

Also note that this app would not have any audio session of its own, it does not need to play or record audio, only monitor the route change (e.g. headset being unplugged).

Hope someone here knows more than I do and can give me a tip!

Dinesh Raja
  • 8,501
  • 5
  • 42
  • 81
  • did you try this code http://stackoverflow.com/questions/10427239/headphone-plug-in-plug-out-event-when-audio-route-doesnt-change-ios – Dinesh Raja Aug 14 '12 at 14:48
  • 1
    Thank you for pointing me to this, I am sure it would be very helpful if I am able to actually make the app. I suppose the only question left is does this work even though my app does not USE the audio, only MONITORS the general audio route for any app on the iPhone. I guess one way to find out is to just try but would like to know if my efforts will be in vain :) – Daniel Henderson Aug 14 '12 at 14:59

0 Answers0