macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

UIModalTransitionStyle

モーダルに画面遷移する場合のトランジション
typedef enum {
   UIModalTransitionStyleCoverVertical = 0,
   UIModalTransitionStyleFlipHorizontal,
   UIModalTransitionStyleCrossDissolve,
} UIModalTransitionStyle;
 ||<
[asin:4794218524:detail]


**解説
UIModalTransitionStyleCoverVertical
 下から上に登場(デフォルト)
UIModalTransitionStyleFlipHorizontal
 水平フリップ
UIModalTransitionStyleCrossDissolve
 ディゾルブ(前の画面が消えて、新しい画面が出てくる)

**フレームワーク
UIKit
**クラス
UIViewController
**Constants
**使用可能
iPhone3.0

**参照

<!--
下書き用スペース
【翻訳テキスト】

【のこりテキスト】
UIModalTransitionStyle
Transition styles available when presenting view controllers modally.
typedef enum {
   UIModalTransitionStyleCoverVertical = 0,
   UIModalTransitionStyleFlipHorizontal,
   UIModalTransitionStyleCrossDissolve,
} UIModalTransitionStyle;
Constants
UIModalTransitionStyleCoverVertical
When the view controller is presented, its view slides up from the bottom of the screen. On dismissal, the view slides back down. This is the default transition style.
Available in iPhone OS 3.0 and later.
Declared in UIViewController.h.
UIModalTransitionStyleFlipHorizontal
When the view controller is presented, the current view initiates a horizontal 3D flip from right-to-left, resulting in the revealing of the new view as if it were on the back of the previous view. On dismissal, the flip occurs from left-to-right, returning to the original view.
Available in iPhone OS 3.0 and later.
Declared in UIViewController.h.
UIModalTransitionStyleCrossDissolve
When the view controller is presented, the current view fades out while the new view fades in at the same time. On dismissal, a similar type of cross-fade is used to return to the original view.
Available in iPhone OS 3.0 and later.
Declared in UIViewController.h.