Type Function Library display.* Return value none Revision Release 2022.3683 Keywords status bar, hide status bar, change status bar See also display.topStatusBarContentHeight
Hides or changes the appearance of the status bar on most devices.
On iOS devices, there is an optional parameter in the iphone
→ plist
build.settings
(guide) which also controls whether the status bar is hidden or not. This API overrides the plist
setting after the app loads. While the app is loading (when the splash screen is visible), the plist
setting will control whether the status bar is visible or not.
macOS desktop and Win32 desktop apps do not support status bars.
display.setStatusBar( mode )
Constant. This argument should be one of the following:
display.HiddenStatusBar
display.DefaultStatusBar
display.TranslucentStatusBar
display.DarkStatusBar
display.LightTransparentStatusBar
display.DarkTransparentStatusBar
display.setStatusBar( display.HiddenStatusBar )