title: How to detect ear piece (speaker) availability on iOS devices?
body: <p>I want to detect specially on iPad's if there is ear piece available or not.</p>
  
  <p>For example - I can detect if the iOS device hasTourch or not using AVFoundation so is there any way to detect ear piece availability.</p>