开发者

iPhone UIImagePickerController video mode

When using the UIImagePickerController, is there a way to specify the resolution of the captured video, or to restrict the length of the video (based on size). I would love to be able to have the video capture at a standard lowe开发者_运维问答r res mode rather than 720P.


For iOS 3.1 or later, you can use the videoQuality property of UIImagePickerController. The values are an in the enumeration UIImagePickerControllerQualityType which defines UIImagePickerControllerQualityType{Low|Medium|High}. The default is UIImagePickerControllerQualityTypeMedium. 4.0 and later have additional resolution options.

As for duration, the property videoMaximumDuration allows you to specify the maximum time in seconds.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜