Open igorkulman opened 5 years ago
Yes
(Please include the following information along with any other relevant environment details.)
CameraKit Version: 1.2.0
iOS Device: iPhone 6S
iOS Version: 12.1.4
(Write your steps here:)
Photo taken in lanscape should be saved as landscape even if orientation lock is enabled in iOS (same as the default camera app)
Photo taken in lanscape is save rotated 90 degrees when iOS orientation lock is enabled.
Sample app in this repo.
Fix idea: use CoreMotion to detect "real" device orientation instead of UIDeviceOrientation
CoreMotion
UIDeviceOrientation
Thanks for these detailed tickets @igorkulman - we will get a patch release out for this soon!
any update for this? or maybe a workaround on how to solve this at the moment?
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
(Please include the following information along with any other relevant environment details.)
CameraKit Version: 1.2.0
iOS Device: iPhone 6S
iOS Version: 12.1.4
Steps to Reproduce
(Write your steps here:)
Expected Behavior
Photo taken in lanscape should be saved as landscape even if orientation lock is enabled in iOS (same as the default camera app)
Actual Behavior
Photo taken in lanscape is save rotated 90 degrees when iOS orientation lock is enabled.
Reproducible Demo
Sample app in this repo.
Fix idea: use
CoreMotion
to detect "real" device orientation instead ofUIDeviceOrientation