【发布时间】:2015-04-12 17:05:39
【问题描述】:
有时当两个UIAlertViews 试图同时呈现时,我的应用程序会崩溃。如何在显示另一个UIAlertview 之前检查是否正在显示另一个UIAlertview?
这是我尝试过的,但它不起作用。
注意:我在这个项目中使用 swift。
if ViewController.isVisable == false {
self.presentViewController(AlertView, animated: true, completion: nil)
}
【问题讨论】:
标签: ios swift uialertview uialertcontroller