How do I check if the iPod supports audio recording using Cocoa API?
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: