开发者

Remove Photo/Video Switch in standard UIImagePickerController in order to force user to only take picture

I'm trying to find a way to hide the switch inside the standard overlay of the UIImagePickerController (the one at bottom right) because 开发者_Go百科I want to force use to only take picture and not video. Is that possible to do it without creating a custom overlay?

Thanks Francesco


http://developer.apple.com/library/ios/documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html#//apple_ref/occ/instp/UIImagePickerController/mediaTypes

I think that you just limit the mediaType as per above

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜