get-app-base-info.md 649 字节
Newer Older
D
DCloud_LXH 已提交
1 2 3 4
## uni.getAppBaseInfo(options?) @getappbaseinfo

<!-- UTSAPIJSON.getAppBaseInfo.description -->

D
DCloud_LXH 已提交
5 6
<!-- UTSAPIJSON.getAppBaseInfo.compatibility -->

D
DCloud_LXH 已提交
7 8 9 10
<!-- UTSAPIJSON.getAppBaseInfo.param -->

<!-- UTSAPIJSON.getAppBaseInfo.returnValue -->

DCloud_Heavensoft's avatar
DCloud_Heavensoft 已提交
11 12
- appTheme如取值为`auto`,代表跟随系统。此时需通过[getSystemInfo](./get-system-info.md)[getDeviceInfo](./get-device-info.md)查询osTheme获取当前到底是light还是dark。

D
DCloud_LXH 已提交
13 14 15 16 17 18 19 20
<!-- UTSAPIJSON.getAppBaseInfo.example -->

<!-- UTSAPIJSON.getAppBaseInfo.tutorial -->

<!-- UTSAPIJSON.get-app-base-info.example -->

<!-- UTSAPIJSON.general_type.name -->

D
DCloud_LXH 已提交
21
<!-- UTSAPIJSON.general_type.param -->