«

»

Sep
11

iPhone app requires camera functionality

If your app is based(in order to run your app camera is necessary) on camera functionality then follow below steps

1) Open Info.plist
2) Click +
3) Add RequiredDeviceCapabilities on the Key column
4) Add still-camera on the Value column
5) Save the updated Info.plist

If some part of your app requires camera functionality then add

if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera]) {
//Something
}

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>