2017-02-04 6 views

答えて

1

完了ブロック内にalertControllerを表示します。このような

controller.dismiss(animated: true, completion: { 
if result == .cancelled { 
     let alertController = UIAlertController(title: "E-Mail not sent!", message: "E-Mail not sent.", preferredStyle: .alert) 

     alertController.addAction(UIAlertAction(title: "OK", style: .cancel, handler: { (action: UIAlertAction!) in 
     })) 

     present(alertController, animated: true, completion: nil) 
    } 
}) 

..

+0

そう簡単に...感謝:) –

関連する問題