/ Published in: Objective C
![](/img/icon_sav.png?v3)
test if cameraDevice is available. Works with the different kind of sourceType
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if (![UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera]) { NSLog(@"No camera!"); }
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)