I am reading the "Device Support - Setting Required Hardware Capabilities" on http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/AdvancedFeatures/AdvancedFeatures.html
I want to add still-camera capability by doing the following:
Is this the correct way?
Thanks in advance for your help.
If you only want to have the capability to utilize the still camera, you don't have to do anything, except check that the camera exists at runtime:
if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera]) {
//Something
}
This is the correct approach, if your application has utility, even when run on a device without a camera. If, on the other hand, your App needs the camera in order to function, then changing the plist is the correct approach, as this is a signal to Apple that your App can not be used on a device without a camera. In that case the procedure you outlined is correct.
Someone at the Developer Forum answered my question.
At the Raw Values/Keys mode
At the "friendly" (Uncheck Raw Values/Keys) mode
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With