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 表现 问题的具体描述 升级到4.1.2 QMUIModalPresentationViewController 调用hideWithAnimated无法关闭 降级到4.1.1之前r 调用hideWithAnimated可以关闭
看了下4.1.2的修订记录+调试,发现在hideWithAnimated中新增了if (self.visible) return;,而self.visible=YES 时的赋值似乎有问题
截图
如何重现 ` UIView *contentView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 300, 208)]; contentView.backgroundColor = UIColor.qd_backgroundColorLighten; contentView.layer.cornerRadius = 6; QMUIModalPresentationViewController *modalViewController = [[QMUIModalPresentationViewController alloc] init]; [modalViewController.view addSubview:contentView]; [modalViewController showWithAnimated:YES completion:nil]; [modalViewController hideWithAnimated:NO completion:nil];
`
预期的表现 调用hideWithAnimated可以关闭
其他信息
The text was updated successfully, but these errors were encountered:
如果用4.1.3也会出现是吗
Sorry, something went wrong.
已发布 4.2.1 修复该问题。
No branches or pull requests
Bug 表现
问题的具体描述
升级到4.1.2 QMUIModalPresentationViewController 调用hideWithAnimated无法关闭
降级到4.1.1之前r 调用hideWithAnimated可以关闭
看了下4.1.2的修订记录+调试,发现在hideWithAnimated中新增了if (self.visible) return;,而self.visible=YES 时的赋值似乎有问题
截图
如何重现
`
UIView *contentView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 300, 208)];
contentView.backgroundColor = UIColor.qd_backgroundColorLighten;
contentView.layer.cornerRadius = 6;
QMUIModalPresentationViewController *modalViewController = [[QMUIModalPresentationViewController alloc] init];
[modalViewController.view addSubview:contentView];
[modalViewController showWithAnimated:YES completion:nil];
[modalViewController hideWithAnimated:NO completion:nil];
`
预期的表现
调用hideWithAnimated可以关闭
其他信息
The text was updated successfully, but these errors were encountered: