Back

GetDisplayHeight

GetDisplayHeight returns the height of the screen area available to the app in pixels. This excludes the notification bar area at the top of the screen (if it is visible).

app.GetDisplayHeight() -> number - pixel

Example - Example



function OnStart()
{
    height = app.GetDisplayHeight();
    app.ShowPopup( height );
}
    Copy     Copy All       Run