【Swift4】UIAlertController 2018.12.02 06:16 UIAlertControllerを使用する各ボタンはUIAlertActionクラスを使用して作成するアラートの表示スタイルとしてAlert/ActionSheetがあるボタンの表示スタイルとしてdefault/cancel/destructiveがあるクロージャ(closure)でボタンを押した時の処理を書くAlert ActionSheet