You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bring up newsletter page in an app that hides the status bar
Tap in a text field
Status bar is visible
If you tap away, then the status bar does disappear again
It shouldn't be made visible though. This was on an iPad on iOS 7.
Worse, if you rotate the device while the keyboard is visible, the status bar remains visible even if you dismiss the signup page. It looks like the rotation causes the keyboard to dismiss through some alternate mechanism that doesn't re-hide the status bar.
I'm not sure why the status bar becomes visible when the keyboard does.
The text was updated successfully, but these errors were encountered:
I think this has something to do with how the invite is being displayed. If I add this method, then the status bar is never shown.
- (BOOL)prefersStatusBarHidden
{
return YES;
}
I have my own view controller inside a UINavigationController, which is my root view. Because the invite is a child of the navigation controller (rather than my custom view controller) it is getting the default value and somehow forcing it to be displayed.
It'd be nice if the invite could remember the current visibility when showing itself, or that it could be added to a view controller other than the root view controller.
Just discovered that setting UIViewControllerBasedStatusBarAppearance to NO in my Info.plist also avoids the problem. Still is a bug, but less priority for me now.
This is going to be unique for every app. Some may want the status bar shown, some may always want it hidden. With iOS 7, it's hard to come up with a solution that fits all if they have UIViewControllerBasedStatusBarAppearance set to YES.
That's a good point. However, the bug is that the controller changes the status bar visibility, but does not change it back. I'm not sure why it does that. It seems like it shouldn't programmatically modify it without saving the previous state so that it can be restored correctly.
It shouldn't be made visible though. This was on an iPad on iOS 7.
Worse, if you rotate the device while the keyboard is visible, the status bar remains visible even if you dismiss the signup page. It looks like the rotation causes the keyboard to dismiss through some alternate mechanism that doesn't re-hide the status bar.
I'm not sure why the status bar becomes visible when the keyboard does.
The text was updated successfully, but these errors were encountered: