From ae5785ee01222d1e5311ada842edfdc63ec65222 Mon Sep 17 00:00:00 2001 From: lizhongyi Date: Thu, 23 May 2024 12:41:10 +0800 Subject: [PATCH] docs: update utsios.md --- docs/uts/utsios.md | 69 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/docs/uts/utsios.md b/docs/uts/utsios.md index e9af8dc3..7fcfd02b 100644 --- a/docs/uts/utsios.md +++ b/docs/uts/utsios.md @@ -195,4 +195,73 @@ app-iOS平台专有内置对象。在uni-app和uni-app x的uts环境中均可使 +### getOsTheme() + + + + + + + + + +### onOsThemeChange(callback) + + + + + + + + + +### offOsThemeChange(callbackId) + + + + + + + + + +### getAppTheme() + + + + + + + + + +### setAppTheme(theme) + + + + + + + + + +### onAppThemeChange(callback) + + + + + + + + + +### offAppThemeChange(callbackId) + + + + + + + + -- GitLab