How can i find out if an external headset is connected to an iPhone?

Posted by iter on Stack Overflow See other posts from Stack Overflow or by iter
Published on 2010-03-25T23:57:23Z Indexed on 2010/03/26 0:03 UTC
Read the original article Hit count: 284

Filed under:
|
|

I wonder if it's possible to detect that the user has an external headset plugged into the iPhone's 3.5mm connector or the 30-pin connector. I want to output audio only to an external audio device, and keep silent if nothing is connected.

Ari.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about core-audio