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

Landscape photo taken with iOS orientation lock enabled is taken as portrait #16

Open
igorkulman opened this issue Mar 1, 2019 · 2 comments

Comments

@igorkulman
Copy link

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:)

  1. Enable orientation lock in iOS
  2. Run the sample app
  3. Rotate the device to lansdscape
  4. Take a photo
  5. Save the photo
  6. See the photo taken and saved as portrait (rotated 90 degrees)

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 of UIDeviceOrientation

@austinkettner austinkettner added this to the 1.2.1 milestone Mar 1, 2019
@austinkettner
Copy link
Member

Thanks for these detailed tickets @igorkulman - we will get a patch release out for this soon!

@rad182
Copy link

rad182 commented Nov 22, 2019

any update for this? or maybe a workaround on how to solve this at the moment?

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

4 participants