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

InvalidOperation during change rear camera to front #9

Open
tigeralhimik opened this issue Sep 5, 2018 · 1 comment
Open

InvalidOperation during change rear camera to front #9

tigeralhimik opened this issue Sep 5, 2018 · 1 comment

Comments

@tigeralhimik
Copy link

Hello friend!
nice tutorial! Thanks
But always get error "InvalidOperation" during change rear camera to front
please help

@dmyma
Copy link

dmyma commented Feb 6, 2019

Hi tigeralhimik, you probably run newer swift version, you should change deviceTypes from . builtInDualCamera to .builtInWideAngleCamera in configureCaptureDevices() function in CameraController extension.

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

No branches or pull requests

2 participants