I would like to have my app open the camera (presently UIImagePickerController ) front-facing if available. (Iphone SDK).
How can I do that?
I would like to have my app open the camera (presently UIImagePickerController ) front-facing if available. (Iphone SDK).
How can I do that?
It's right there in the documentation:
picker.cameraDevice = UIImagePickerControllerCameraDeviceFront;
Of course, you'll need to check first if the front camera is actually available.