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

showErrorWithStatus 弹窗不消失问题及解决 #20

Open
Iverlei opened this issue Feb 28, 2017 · 1 comment
Open

showErrorWithStatus 弹窗不消失问题及解决 #20

Iverlei opened this issue Feb 28, 2017 · 1 comment

Comments

@Iverlei
Copy link

Iverlei commented Feb 28, 2017

showErrorWithStatus 弹窗然后点击弹框外面取消弹窗,再次弹出弹窗程序卡死。
查看源码,问题应该有两个,一个是点击弹框外取消弹窗,但是延迟发送取消弹窗线程会继续取消次弹窗,原来写的有个BUG,需要在SVProgressHUD文件内dismissImmediately方法的isDismissing = false 改成isDismissing = true(我没明白为什么原来会设置成false);二是弹出弹框时需要将isDismissing = false,修改onAttached方法,加入isDismissing = false。
问题解决,不过刚改过来,最好作者来看下有没有问题。

@FlogFly
Copy link

FlogFly commented Apr 27, 2017

thanks..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants