开发者

Dismissing current UIActionSheet

Is there a way t开发者_开发百科o dismiss the current UIActionSheet when you don't have access to the variable that holds it?

Apparently it makes its own window and makes it the key window, but [[[UIApplication sharedApplication] keyWindow]resignKeyWindow] doesn't seem to be working.


You shouldn't - you create the UIActionSheet, therefore you can keep a reference to it to dismiss it later.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜