-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
NavBarRemoveBackgroundEffectAutomatically 在开启了 AutomaticCustomNavigationBarTransitionStyle 时可能对假 bar 无效 #1330
Comments
录屏好像没内容? |
不好意思 这边直接上传好像有问题 |
使用最新 QMUI Demo 测试,未发现该问题。 配置表打开 AutomaticCustomNavigationBarTransitionStyle 的录屏,切换界面时导航栏分成左右两段,互不干扰。 AutomaticCustomNavigationBarTransitionStyle.mov配置表关闭 AutomaticCustomNavigationBarTransitionStyle 的录屏,切换界面瞬间,导航栏会变成新界面的样式,系统默认行为如此。 AutomaticCustomNavigationBarTransitionStyle.mov请继续排查业务代码,或者提供一份 Demo。 |
这边简单写个了demo 还是能够复现这个问题 |
该问题是因为 - (void)didAddSubview:(UIView *)subview {
[super didAddSubview:subview];
if (subview == self.qmui_backgroundView) {
[subview qmui_performSelector:NSSelectorFromString(@"updateBackground") withArguments:nil];
}
} |
在4.4.0Demo中修改QMUICMI.automaticCustomNavigationBarTransitionStyle = YES; @implementation _QMUITransitionNavigationBar 中添加
入口:Lab标签 -> NavBarHidden |
@Snail-hash 你说的是另一个问题,查看 #1335 |
已发布 4.4.1 修复该问题。 |
不好意思,这个代码忘了带上 4.4.1,近期会再发个 4.4.2 补上 |
已发布 4.4.2 修复该问题。 |
Bug 表现
iOS 15返回的导航动画上一个界面会有白色透明的遮罩,返回完成时消失
iOS 14以下正常
截图
RPReplay_Final1638342477.mov
如何重现
预期的表现
返回时(包括手势返回)A界面导航上无白色透明遮罩
其他信息
The text was updated successfully, but these errors were encountered: