-
Notifications
You must be signed in to change notification settings - Fork 13
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
Overflow menu misplaced in landscape mode in iOS 9 #3
Comments
You seem to be right, it seems related to the status bar hiding and showing. The menu is actually shown on a new |
Yup, found this on stackoverflow, which fixed most of the issue, but you still have to add a check to keep the status bar from disappearing all the time (ie in portrait). Also have to edit the menu's height / frame to accommodate for the missing status bar. |
Turns our all you have to do is set a rootviewcontroller for the window ( There's still the issue of the menu's height when in a vertically compact environment / when no status bar is shown. |
Setting a dummy root view controller does the job; no longer the status bar shows-hides on rotation. I have set the root view controller and committed the change. Please take a look. I will keep trying on my end. My observations:
This is strange. The menu uses a |
Issue related to transform applied to menu view. Fixed. |
When a device rotated to landscape mode, the menu isn't displayed properly. I believe the issue has something to do with the autoresizing masks:
- (UIViewAutoresizing)autoresizingMasks {
return UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
}
The issue seems to only appear on iPhone devices, not iPads. Apparently when the status bar is hidden (as is the case on iPhone devices in landscape), opening the menu makes the status bar appear again and causes the issue.
The text was updated successfully, but these errors were encountered: