Transition
UIViewController の画面遷移
UIViewControllerを画面に出す方法
UIViewController を画面に出す方法は、大別すると UIViewController 自体を表示する と Container View Controller に埋め込む の二種類があって、前者の機能は全ての UIViewController に組み込まれている。他の ViewController を表示すると、表示された側が Presented View Controller、表示した側が Presenting View Controller としての関係を保持する。この関係は階層構造をなす。
UIViewControllerを表示する方法
UIViewController 自体を表示する場合、Segue を利用する方法 と コードから実行する方法 の2種類がある。
View Controller Programming Guide for iOS - Presenting a View Controller
Presented View Controller の描画アニメーションを決める。表示したい ViewController の modalTransitionStyle に適切な定数を割り当てる。この値である UIModalTransitionStyle は enum で、いくつかの style が定義されている。
coverVertical 上から下に挿入する
filpHorizonal 水平方向にフリップをめくるように挿入する
crossDissolve フェードインで挿入する
partialCurl 角からめくるように挿入する
Customizing the Transition Animations