imaginary-cloud / CameraManager

Simple Swift class to provide all the configurations you need to create custom camera view in your app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to fix the camera orientation

lvst opened this issue · comments

commented

i am taking a video but the orientation will change when i rotate the device , how can i fix the camera orientation?

@lvst

if you want you can make the entire app only work for portrait, you can do that here:
Deployment Info

Otherwise you can use cameraManager properties: shouldRespondToOrientationChanges and shouldKeepViewAtOrientationChanges.