This is a discussion on How To check if iOS Device has Camera or not within the iPhone/iPad Programming Tutorials forums, part of the Programming Section category; Hello, Here is how to detect if the user has a camera in his iOS Device or not: Code: if ...
Hello,
Here is how to detect if the user has a camera in his iOS Device or not:
Code:if ( (![UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera])) { //enter desired action here }
MozyMac Founder,Chairman and CEO
MacBook Pro Unibody late 2008 2.4Ghz 4GB ram 250GB HD
MozyMac Youtube Channel