Instance Property

presentationStyle

Returns the presentation style being used for the transition.

Required.

Declaration

@property(nonatomic, readonly) UIModalPresentationStyle presentationStyle;

Return Value

The modal presentation style associated with the transition or UIModalPresentationNone if the transition is not a modal presentation or dismissal. For a list of possible values, see “Modal Presentation Styles” in UIViewController.

Discussion

When presenting or dismissing a view controller modally, this method returns the presentation style used for that transition. For interface rotations and other events that do not involve a specific transition between view controllers, this method returns UIModalPresentationNone.

See Also

Getting the Behavior Attributes

transitionDuration

Returns the noninteractive duration of a transition.

Required.

completionCurve

Returns the completion curve associated with the transition.

Required.

completionVelocity

Returns the starting velocity to use for any final animations.

Required.

percentComplete

Returns the percentage of completion for an interactive transition when it moves to its noninteractive phase.

Required.