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 表现 QMUIModalPresentationWindow没释放
截图
如何重现 使用QMUIAlertController弹窗后关闭
预期的表现 QMUIModalPresentationWindow释放掉
其他信息
The text was updated successfully, but these errors were encountered:
是不是你在contentView的Block中引用了QMUIModalPresentationViewController,你可以将QMUIModalPresentationViewController弱引用,例如:
contentView
Block
QMUIModalPresentationViewController
@weakify(modalViewController) contentView.completeHandler = ^{ @strongify(modalViewController) [modalViewController hideWithAnimated:YES completion:^(BOOL finished) { if (finished) { completeHandler(); } }]; };
Sorry, something went wrong.
@RomanticEncounter 没有噢,我都没主动调用到QMUIModalPresentationViewController,使用方法就是这样 let controller = QMUIAlertController(title: nil, message: message, preferredStyle: .alert) controller.showWith(animated: true)
No branches or pull requests
Bug 表现
QMUIModalPresentationWindow没释放
截图
如何重现
使用QMUIAlertController弹窗后关闭
预期的表现
QMUIModalPresentationWindow释放掉
其他信息
The text was updated successfully, but these errors were encountered: