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

TBActionSheet 消失之后,创建的window没有销毁 #20

Closed
leoliuyt opened this issue Apr 19, 2017 · 1 comment
Closed

TBActionSheet 消失之后,创建的window没有销毁 #20

leoliuyt opened this issue Apr 19, 2017 · 1 comment

Comments

@leoliuyt
Copy link

leoliuyt commented Apr 19, 2017

TBActionSheet 消失之后,创建的window没有销毁,导致一些其他第三的loading 无法显示,应该在- (void)close和- (void)buttonTapped:(TBActionButton *)sender中 添加下面标注的一行代码
self.window.rootViewController = nil;
self.window = nil;//(应该添加的)
[self.previousKeyWindow makeKeyAndVisible];

yulingtianxia added a commit that referenced this issue Apr 21, 2017
TBActionSheet 消失之后,创建的window没有销毁
#20
@yulingtianxia
Copy link
Owner

fixed in 1.5.3

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

No branches or pull requests

2 participants