CameraView
CameraView copied to clipboard
Fix orientation lock setting app to `all` after closing camera
Noted in issue 89, after closing the Camera's session we reset the AppDelegate's orientation to all. This change will ensure we reset the orientation to the original state dictated by AppDelegate.
~~Does the .lockCameraInPortraitOrientation lock work for you at all?~~
Turns out the lockCameraInPortraitOrientation doesn't work like how I want to "lock" the UI Controller. Turns out for my case of locking the UI is to NOT call the lockCameraInPortraitOrientation 🤦🏻♂️