let alert = UIAlertController(title: "Alert", message: "Message", preferredStyle: UIAlertControllerStyle.alert)
alert.addAction(UIAlertAction(title: "Click", style: UIAlertActionStyle.default, handler: nil))
self.present(alert, animated: true, completion: nil)http://stackoverflow.com/questions/24022479/how-would-i-create-a-uialertview-in-swift
沒有留言:
張貼留言