How to check the type of inputAvailable in iPad?

Posted by iphoneDev on Stack Overflow See other posts from Stack Overflow or by iphoneDev
Published on 2010-12-30T10:18:22Z Indexed on 2010/12/30 12:54 UTC
Read the original article Hit count: 291

Hi,

I am implementing the sound recording functionality in my iPad app. I want to prompt the user to attach his headphone with microphone for better performance.For this I need to check that whether the user has connected the headphone with microphone or not.

In the AVAudioSession there is a method inputIsAvailable.But this method returns 'Yes' for the inbuilt mic of iPad also.So,please suggest how to detect that whether the headphone with mic is connected to the device or not??

© Stack Overflow or respective owner

Related posts about iphone

Related posts about ipad