Return to Snippet

Revision: 60011
at October 15, 2012 23:45 by code4mac


Initial Code
if (![UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera])
 { 
   NSLog(@"No camera!");
 }

Initial URL

                                

Initial Description
test if cameraDevice is available. Works with the different kind of sourceType

Initial Title
Determine if cameraDevice is available

Initial Tags

                                

Initial Language
Objective C