Hey I was wondering how I can access the front facing camera. Maybe there's some guide for it? But I don't want all buttons etc. I just want to access the from facing camera, I don't ant the button to take a photo or anything like that.
You can access the front facing camera like:
picker.cameraDevice = UIImagePickerControllerCameraDeviceFront;
Check out the UIImagePickerController Class Reference
Just set the cameraDevice
property of UIImagePickerController
to UIImagePickerControllerCameraDeviceFront
. But you should check if the device is available.
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