/ Published in: Objective C
                    
                                        
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
 Subscribe to comments
                    Subscribe to comments
                
                