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

清空页面所有弹框 #137

Open
HobaoKing opened this issue Dec 8, 2020 · 4 comments
Open

清空页面所有弹框 #137

HobaoKing opened this issue Dec 8, 2020 · 4 comments

Comments

@HobaoKing
Copy link

队列显示几个弹框,页面异常退出,关闭所有队列里面的alert

@aloow
Copy link

aloow commented Nov 10, 2021

这个问题怎么还没解决呢?大神,能否火速处理一下

@lixiang1994
Copy link
Owner

@aloow ????

@aloow
Copy link

aloow commented Nov 10, 2021

.LeePresentation([LEEPresentation viewController:self])
.LeeQueue(YES)
像这样把两个弹窗添加到特定控制器中,入队。然后一个个关闭的时候会发现关闭不了。关闭完了,还有一层window盖在原来控制器上没关闭。

另外一个问题是如果入队了2个弹窗,一个弹窗已经开启了。然后在这个弹窗window上覆盖一层window,window上添加viewcontroller。如何在这个最上层的控制器里关闭入队了的那些弹窗。

感谢大神解惑

@lixiang1994
Copy link
Owner

这个关闭问题我最新版本解决了呀, 你看看你现在是什么版本

第二个问题我没太看明白 覆盖的window是你自己自定义的吗? 什么场景需要这么骚的操作? 关闭入队的弹窗 可以通过LeeIdentifier来关闭队列中指定的 也可以直接清空队列, 不知道能不能解决你的问题.

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

3 participants