We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QMUI 版本: 4.7.0
测试机型: iPhone 15 Pro Max 模拟器
系统: 17.5
1、集成QMUI与QMUI_Demo皮肤相关组件,并将respondsSystemStyleAutomatically设置为YES。
2、打开App。
3、通过系统切换模式。
4、返回App切换TabbarItem或进入二级页面,导航栏颜色异常。
debug后发现由于系统进入后台,导致 QMUIConfiguration.m line: 479 QMUIHelper.canUpdateAppearance 值为NO,无法正确调用 UINavigationBar.qmui_appearanceConfigured.barStyle = navBarStyle;
QMUIHelper.canUpdateAppearance
UINavigationBar.qmui_appearanceConfigured.barStyle = navBarStyle;
跟踪发现 QMUIHelper.sharedInstance.shouldPreventAppearanceUpdating 是通过App是否进入后台进行判断,但是这样进入后台的情况下切换系统皮肤、或APP进入后台时,用户手动开启了自动切换深色模式开关时,QMUI是不是就没法正确设置barStyle了呢?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
QMUI 版本: 4.7.0
测试机型: iPhone 15 Pro Max 模拟器
系统: 17.5
操作步骤:
1、集成QMUI与QMUI_Demo皮肤相关组件,并将respondsSystemStyleAutomatically设置为YES。
2、打开App。
3、通过系统切换模式。
4、返回App切换TabbarItem或进入二级页面,导航栏颜色异常。
疑问点:
debug后发现由于系统进入后台,导致 QMUIConfiguration.m line: 479
QMUIHelper.canUpdateAppearance
值为NO,无法正确调用UINavigationBar.qmui_appearanceConfigured.barStyle = navBarStyle;
跟踪发现 QMUIHelper.sharedInstance.shouldPreventAppearanceUpdating 是通过App是否进入后台进行判断,但是这样进入后台的情况下切换系统皮肤、或APP进入后台时,用户手动开启了自动切换深色模式开关时,QMUI是不是就没法正确设置barStyle了呢?
The text was updated successfully, but these errors were encountered: