跳到主要内容

获取应用程序版本(app.version)

函数

版本信息 = app.version(应用程序bundleId)

参数

  • 应用程序bundleId 文本型

返回值

  • 版本信息 文本型

说明

用于获取应用程序的版本信息

示例

print(string.format("应用程序的版本:%s",app.version("com.ss.iphone.ugc.aweme.lite")))