2

I want to use AVAudioRecorder on my mac mini. But there is no microphone input jack.

I think I should buy earpods to use AVAudioRecorder. Maybe these : http://store.apple.com/uk/product/MD827ZM/A/apple-earpods-with-remote-and-mic

If I plug earpods into mac mini (headphone out), will it work inside iPhone & iPad 6.0 Simulator ?

Could I record my voice without debugging into iOS device ?

4

1 回答 1

1

Yes, I've tested AVAudioRecorder in the Simulator on the mini and it works. But your reluctance to test on a device is a worry. Always test on a device, especially where hardware-dependent functionality is concerned (as here).

However, my mini definitely does not understand the earpods. You have to use a USB microphone.

于 2013-05-09T16:12:27.117 回答