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
精彩评论