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

Half the screen goes white when holding the phone horizontally #36

Closed
mploigt opened this issue Feb 25, 2019 · 2 comments · Fixed by #39
Closed

Half the screen goes white when holding the phone horizontally #36

mploigt opened this issue Feb 25, 2019 · 2 comments · Fixed by #39

Comments

@mploigt
Copy link

mploigt commented Feb 25, 2019

When you hold the phone (in this case an iPhone X) horizontally, the view switches to a new layout. where only the top half of the screen is the camera, the bottom half is white. You can only see the "Ca" of the "Cancel" button on the right side of the screen. Example: https://www.dropbox.com/s/0603ajyixd9jxpp/tiltBug.mov?dl=0

@cah4a
Copy link
Contributor

cah4a commented Mar 30, 2019

Same issue.

I've found that after rotation [[UIDevice currentDevice] orientation] returns strange values, that not depends on device orientation settings. In my app orientation was locked but currentDevice orientation still changes.

I don't understand what's going on here, i am not an ios developer.

But) I stackoverflow it, and made a fix using [UIApplication sharedApplication].statusBarOrientation which is a common approach.

@oldmilk
Copy link

oldmilk commented May 30, 2019

May I have this latest version available on https://pub.dev/ ?

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

Successfully merging a pull request may close this issue.

3 participants