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

Reverted orientation checking fix #69

Merged
merged 1 commit into from
Jul 2, 2015
Merged

Conversation

paulsfds
Copy link
Contributor

- This caused layout issues where if you swiped left/right on the
real device, you wouldn't be able to see the other views.
- UIDevice.currentDevice().orientation.isPortrait checks the
physical orientation of your device, which may not be the same as
your application's orientation. Please refer to
https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIDevice_Class/#//apple_ref/occ/instp/UIDevice/orientation
fahlout added a commit that referenced this pull request Jul 2, 2015
Reverted orientation checking fix
@fahlout fahlout merged commit c4e5675 into PageMenu:master Jul 2, 2015
@hpstuff
Copy link

hpstuff commented Sep 4, 2015

UIDevice.currentDevice().orientation ignore Deployment Info > Device Orientation better if it's use UIApplication.sharedApplication().statusBarOrientation

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 this pull request may close these issues.

3 participants