Search code examples
objective-ccocoa-touchcore-audioipod

How do I check if the iPod supports audio recording?


How do I check if the iPod supports audio recording using Cocoa API?


Solution

  • If you know what devices support audio recording (iPhone always does for example) you can use methods from this question:

    Determine device (iPhone, iPod Touch) with iPhone SDK

    Actual testing for input device connected can be done by Audio Session Services shown in this solution:

    Detecting iPhone/iPod Touch Accessories