Cordova SDK->如何显示操作系统状态栏?

时间:2018-12-03 13:26:13

标签: android cordova lua statusbar

如何制作非全屏应用程序以显示Android的状态栏?

main.lua:

local webView = native.newWebView(0, 0, display.contentWidth, display.contentHeight)
webView:request("http://google.com/")

无效:

native.setProperty("windowMode", "normal")
display.setStatusBar(display.DefaultStatusBar)

0 个答案:

没有答案