display.setStatusBar()

Type Function
Library display.*
Return value none
Revision 2017.3060
Keywords status bar, hide status bar, change status bar
See also display.topStatusBarContentHeight

Overview

Hides or changes the appearance of the status bar on most devices.

Gotchas

Syntax

display.setStatusBar( mode )
mode (required)

Constant. This argument should be one of the following:

  • display.HiddenStatusBar
  • display.DefaultStatusBar
  • display.TranslucentStatusBar
  • display.DarkStatusBar
  • display.LightTransparentStatusBar
  • display.DarkTransparentStatusBar

Example

display.setStatusBar( display.HiddenStatusBar )