UIViewController.ProvidesPresentationContextTransitionStyle Property

Definition

true if this UIViewController overrides the transition style of the UIViewController that it presents.

public virtual bool ProvidesPresentationContextTransitionStyle { [Foundation.Export("providesPresentationContextTransitionStyle")] get; [Foundation.Export("setProvidesPresentationContextTransitionStyle:")] set; }
member this.ProvidesPresentationContextTransitionStyle : bool with get, set

Property Value

The default value is false

Attributes

Remarks

If left at it’s default false value, the transition style of a presented UIViewController is determined by the presented UIViewController’s ModalTransitionStyle property. If this ProvidesPresentationContextTransitionStyle property is set to true, the transition style is determined by the presenting UIViewController’s ModalTransitionStyle property.

Applies to