Code
var alert=UIAlertController(title: "Warning", message: "Success", preferredStyle: UIAlertControllerStyle.Alert);
alert.addAction(UIAlertAction(title: "Click", style: UIAlertActionStyle.Cancel, handler:nil));
self.presentViewController(alert, animated: true, completion: nil);

No comments:
Post a Comment