Skip to content
New issue

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 在 iOS 15 里打开一个默认隐藏导航栏的界面,返回按钮样式错误 #1437

Closed
MoLice opened this issue Sep 8, 2022 · 2 comments
Labels

Comments

@MoLice
Copy link
Collaborator

MoLice commented Sep 8, 2022

Bug 表现
问题的具体描述

截图
Bug 现场的界面截图,或者 Xcode 控制台的错误信息截图,有问题的代码截图

如何重现

  1. ...
  2. ...

预期的表现
正常情况下,应该是什么表现

其他信息

  • 设备: [例如模拟器、iPhone、iPad]
  • iOS 版本: [iOS 14.x]
  • Xcode 版本: [Xcode 12.x]
  • QMUI 版本: [4.x.x]
@MoLice MoLice added the bug label Sep 8, 2022
@MoLice MoLice changed the title 打开一个默认隐藏导航栏的界面,返回按钮样式错误 QMUI 在 iOS 15 里打开一个默认隐藏导航栏的界面,返回按钮样式错误 Sep 8, 2022
@MoLice
Copy link
Collaborator Author

MoLice commented Oct 11, 2022

#1451 原因类似,因为 viewWillAppear 时导航栏由于 hidden,没添加到 window 上,此时 QMUI 就给导航栏设置样式,等后续导航栏显示回来时 UIAppearance 就不会再应用了,从而导致返回按钮样式错误。

@MoLice
Copy link
Collaborator Author

MoLice commented Dec 7, 2022

已修复该 bug,请根据 iOS 版本支持情况选择升级到 4.6.0(iOS 11-16)4.6.1(iOS 13-16)

@MoLice MoLice closed this as completed Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant