Posted By

code4mac on 10/15/12


Tagged

cameraDevice UIImagePickerController


Versions (?)

Determine if cameraDevice is available


 / Published in: Objective C
 

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

  1. if (![UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera])
  2. {
  3. NSLog(@"No camera!");
  4. }

Report this snippet  

You need to login to post a comment.