native.*

类型
修订 版本 2024.3703
关键词 native

概述

native 库封装了平台特定的 UI 元素,例如输入字段、地图、Web 视图等。这些元素由操作系统控制/渲染,而不是 Corona 引擎。

注意事项

函数

native.cancelAlert()

native.cancelWebPopup()

native.canShowPopup()

native.getFontNames()

native.getProperty()

native.getSync()

native.newFont()

native.newMapView()

native.newTextBox()

native.newTextField()

native.newVideo()

native.newWebView()

native.requestExit()

native.setActivityIndicator()

native.setKeyboardFocus()

native.setProperty()

native.showAlert()

native.showPopup()

native.showWebPopup()

native.setSync()

常量

native.systemFont

native.systemFontBold