FaceCapture - Always with Front camera to capture photo
Opened this issue · 0 comments
pbtouchtier commented
FaceCapture - Always with the Front camera to capture the photo
I'm trying to take a photo with the back camera.
I updated the code to set back the camera with below code
AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: .back)
but it always loads the front camera.
How to use the back camera and also add a button to toggle the camera position ?