&tag(UIKit/ダイアログとアクションシート);
*目次 [#h905940d]
#contents
*関連ページ [#f0afaecd]
-[[UIKit]]
#author("2017-01-24T14:51:24+09:00","default:wikiwriter","wikiwriter")

*参考情報 [#w0037202]


*ダイアログを表示する [#h0b16a92]
-iOS 9以降UIAlertViewが非推奨。UIAlertControllerを使用する。
#pre{{
        let alertConroller = UIAlertController(
            title: "タイトル",
            message: "メッセージ",
            preferredStyle: UIAlertControllerStyle.Alert
        )
        alertConroller.addAction(UIAlertAction(title:"OK", style:UIAlertActionStyle.Default, handler: nil))
        presentViewController(alertConroller, animated: true, completion: nil)
}}



トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS