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
The current implementation of PrefersStatusBarHidden on iOS is based on IsFullScreen in GraphicsDeviceManager. This is fine, but setting IsFullScreen to true has other consequences like needing to swipe up twice to exit the app. Developers should be able to have more granular control over whether they want to hide the status bar, but not have the other consequences of being a full screen app.
I'm doing this by forking MonoGame, but shouldn't have to do this: there should be something like an Info.plist entry which can be toggled on/off to toggle the status bar (and if not present use the default implementation), or a boolean in the Game class, etc.
The text was updated successfully, but these errors were encountered:
Intent
The current implementation of
PrefersStatusBarHidden
on iOS is based onIsFullScreen
inGraphicsDeviceManager
. This is fine, but settingIsFullScreen
to true has other consequences like needing to swipe up twice to exit the app. Developers should be able to have more granular control over whether they want to hide the status bar, but not have the other consequences of being a full screen app.Implementation here:
MonoGame/MonoGame.Framework/Platform/iOS/iOSGameViewController.cs
Lines 111 to 114 in 39313ed
Motivation
I'm doing this by forking MonoGame, but shouldn't have to do this: there should be something like an Info.plist entry which can be toggled on/off to toggle the status bar (and if not present use the default implementation), or a boolean in the Game class, etc.
The text was updated successfully, but these errors were encountered: