<a target="_blank" href="http://blog.csdn.net/zhengang007/article/details/51141885">reason: 'cameracapturemode 1 not available because mediatypes does contain public.movie</a>
在使用 uiimagepickercontroller 做視訊錄制開發時遇到的這個錯誤:reason: 'cameracapturemode 1 not available because mediatypes does contain public.movie
仔細研究代碼後,發現是 cameracapturemode 和 mediatypes ,這兩個屬性的值沖突了。
把 cameracapturemode 這個屬性給删掉就行了。另外,使用 kuttypemovie 這個字元串時,要引入頭檔案
#import <mobilecoreservices/mobilecoreservices.h>。否則,會報錯的。