【发布时间】:2014-10-17 18:39:51
【问题描述】:
UIAlertViewController 显示我的所有文本,但单击时不会切换到另一个视图。代码如下:
let alertController = UIAlertController(title: "Risposta Esatta", message:"", preferredStyle: UIAlertControllerStyle.Alert)
alertController.addAction(UIAlertAction(title: "Avanti", style:UIAlertActionStyle.Default,handler: {(UIAlertAction) in
let secondViewController:SecondViewController = SecondViewController()
self.presentViewController(secondViewController, animated: true, completion: nil)
}))
【问题讨论】:
-
你能确认这是被解雇了吗?