Back

HasSoftNav

JS Py
Hello World

Checks if the device has a soft navigation bar on the screen.

app.HasSoftNav() → Boolean

Example - Check Softkeys

function OnStart()
{
    var hasSoftNav = app.HasSoftNav();
    app.Alert( hasSoftNav, "Has Soft Keys:" );
}
from native import app

def OnStart():
    hasSoftNav = app.HasSoftNav()
    app.Alert(hasSoftNav, "Has Soft Keys:")
    Copy     Copy All       Run