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
Bug 表现 在iPhone 12/12 Pro模型器下,在控制器中输出self.navigationController.navigationBar.frame发现横屏时导航栏高度是32 而QMUI中的NavigationBarHeight输出高度是44
截图 Bug 现场的界面截图,或者 Xcode 控制台的错误信息截图,有问题的代码截图
如何重现
预期的表现 正常情况下,应该是什么表现
其他信息
The text was updated successfully, but these errors were encountered:
新版本将会调整,在此之前可以将以下代码替换 QMUIHelper.m 的同名方法:
+ (BOOL)isRegularScreen { return [self isIPad] || (!IS_ZOOMEDMODE && ([self is67InchScreen] || [self is65InchScreen] || [self is61InchScreen] || [self is55InchScreen])); }
另外如果你处于 UIViewController 的上下文里,那应该用 vc.qmui_navigationBarMaxYInViewCoordinator 来获取导航栏的布局,而不是用写死的宏,任何时候宏都只是一个保底方案。
vc.qmui_navigationBarMaxYInViewCoordinator
Sorry, something went wrong.
已发布 4.2.3 修复该问题。
No branches or pull requests
Bug 表现
在iPhone 12/12 Pro模型器下,在控制器中输出self.navigationController.navigationBar.frame发现横屏时导航栏高度是32
而QMUI中的NavigationBarHeight输出高度是44
截图
Bug 现场的界面截图,或者 Xcode 控制台的错误信息截图,有问题的代码截图
如何重现
预期的表现
正常情况下,应该是什么表现
其他信息
The text was updated successfully, but these errors were encountered: