UIViewController.ProvidesPresentationContextTransitionStyle UIViewController.ProvidesPresentationContextTransitionStyle Property

Definition

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

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

Property Value

The default value is false

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