¡@

Home 

2014/10/15 ¤U¤È 10:04:21

iphone Programming Glossary: availabletypes

Select videos using UIImagePickerController in 2G/3G

http://stackoverflow.com/questions/2758466/select-videos-using-uiimagepickercontroller-in-2g-3g

NO self setPhotoSelectionAvailable NO self setVideoSelectionAvailable NO For live mode NSArray availableTypes UIImagePickerController availableMediaTypesForSourceType UIImagePickerControllerSourceTypeCamera NSLog @ Available types.. UIImagePickerControllerSourceTypeCamera NSLog @ Available types for source as camera @ availableTypes if UIImagePickerController isSourceTypeAvailable UIImagePickerControllerSourceTypeCamera if availableTypes containsObject.. as camera @ availableTypes if UIImagePickerController isSourceTypeAvailable UIImagePickerControllerSourceTypeCamera if availableTypes containsObject NSString kUTTypeMovie self setVideoRecordingAvailable YES if availableTypes containsObject NSString kUTTypeImage..