AVAudioRecorder won't record IF movie was previously recorded & played

前端 未结 6 1797
无人共我
无人共我 2021-02-02 02:17

My iPhone app uses \"AVAudioRecorder\" to make voice recordings. It also uses \"UIImagePickerController\" to record movies and \"MPMoviePlayerController\" to play movies.

6条回答
  •  日久生厌
    2021-02-02 02:59

    I got the same problem. Finally I found out that ARC has released my recorder. So, you must declare the recorder in your .h file, i.e. AVAudioRecord *recorder;. Put other things to .m will work as normal.

提交回复
热议问题