yulingtianxia / TBActionSheet

A Custom&Powerful Action Sheet For iOS. 一个 ActionSheet 满足所有样式!超高自由度的可定制!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

leoliuyt opened this issue · comments

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

fixed in 1.5.3