Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera not working properly in iPod Touch 5th #183

Open
asolakhyan opened this issue Sep 3, 2015 · 0 comments
Open

Camera not working properly in iPod Touch 5th #183

asolakhyan opened this issue Sep 3, 2015 · 0 comments

Comments

@asolakhyan
Copy link

iOS 8.4.
Front camera is not working. Showing black.
ipod touch has only front camera, so I am calling switchCamera in this manner

[self presentViewController:nav animated:YES completion:^{

    //toggle to selfie mode (i.e. front camera)
    [cameraContainer.cameraViewController.cameraView.delegate switchCamera];
}];

switchCamera calls cameraManager's toggle cameraToggle which has a check hasMultipleCameras. Since ipod touch has only one camera, the toggle does not take any effect and the user is stuck with default back camera which does not exist.

Would it be possible to add configuration on which camera should defaulted? I.e. CameraMode = Front or Back?

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants