Share via


IUIAdaptivePresentationControllerDelegate Interface

Definition

This interface represents the Objective-C protocol UIAdaptivePresentationControllerDelegate.

[Foundation.Protocol(Name="UIAdaptivePresentationControllerDelegate", WrapperType=typeof(UIKit.UIAdaptivePresentationControllerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetAdaptivePresentationStyle", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIPresentationController) }, ReturnType=typeof(UIKit.UIModalPresentationStyle), Selector="adaptivePresentationStyleForPresentationController:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetViewControllerForAdaptivePresentation", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIPresentationController), typeof(UIKit.UIModalPresentationStyle) }, ReturnType=typeof(UIKit.UIViewController), Selector="presentationController:viewControllerForAdaptivePresentationStyle:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetAdaptivePresentationStyle", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIPresentationController), typeof(UIKit.UITraitCollection) }, ReturnType=typeof(UIKit.UIModalPresentationStyle), Selector="adaptivePresentationStyleForPresentationController:traitCollection:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PrepareAdaptivePresentationController", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIPresentationController), typeof(UIKit.UIPresentationController) }, Selector="presentationController:prepareAdaptivePresentationController:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillPresent", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIPresentationController), typeof(UIKit.UIModalPresentationStyle), typeof(UIKit.IUIViewControllerTransitionCoordinator) }, Selector="presentationController:willPresentWithAdaptiveStyle:transitionCoordinator:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldDismiss", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIPresentationController) }, ReturnType=typeof(System.Boolean), Selector="presentationControllerShouldDismiss:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillDismiss", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIPresentationController) }, Selector="presentationControllerWillDismiss:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidDismiss", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIPresentationController) }, Selector="presentationControllerDidDismiss:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidAttemptToDismiss", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIPresentationController) }, Selector="presentationControllerDidAttemptToDismiss:")]
public interface IUIAdaptivePresentationControllerDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UIAdaptivePresentationControllerDelegate", WrapperType=typeof(UIKit.UIAdaptivePresentationControllerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetAdaptivePresentationStyle", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIPresentationController) }, ReturnType=typeof(UIKit.UIModalPresentationStyle), Selector="adaptivePresentationStyleForPresentationController:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetViewControllerForAdaptivePresentation", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIPresentationController), typeof(UIKit.UIModalPresentationStyle) }, ReturnType=typeof(UIKit.UIViewController), Selector="presentationController:viewControllerForAdaptivePresentationStyle:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetAdaptivePresentationStyle", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIPresentationController), typeof(UIKit.UITraitCollection) }, ReturnType=typeof(UIKit.UIModalPresentationStyle), Selector="adaptivePresentationStyleForPresentationController:traitCollection:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PrepareAdaptivePresentationController", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIPresentationController), typeof(UIKit.UIPresentationController) }, Selector="presentationController:prepareAdaptivePresentationController:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillPresent", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIPresentationController), typeof(UIKit.UIModalPresentationStyle), typeof(UIKit.IUIViewControllerTransitionCoordinator) }, Selector="presentationController:willPresentWithAdaptiveStyle:transitionCoordinator:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldDismiss", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIPresentationController) }, ReturnType=typeof(System.Boolean), Selector="presentationControllerShouldDismiss:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillDismiss", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIPresentationController) }, Selector="presentationControllerWillDismiss:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidDismiss", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIPresentationController) }, Selector="presentationControllerDidDismiss:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidAttemptToDismiss", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIPresentationController) }, Selector="presentationControllerDidAttemptToDismiss:")>]
type IUIAdaptivePresentationControllerDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
DidAttemptToDismiss(UIPresentationController)
DidDismiss(UIPresentationController)
GetAdaptivePresentationStyle(UIPresentationController, UITraitCollection)

The presentation style to use for the specified controller and traitCollection.

GetAdaptivePresentationStyle(UIPresentationController)

Returns the new presentation style to use after a change to the forPresentationController.

GetViewControllerForAdaptivePresentation(UIPresentationController, UIModalPresentationStyle)

The view controller to use for the specified style.

PrepareAdaptivePresentationController(UIPresentationController, UIPresentationController)
ShouldDismiss(UIPresentationController)
WillDismiss(UIPresentationController)
WillPresent(UIPresentationController, UIModalPresentationStyle, IUIViewControllerTransitionCoordinator)

Called prior to presentation.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
DidAttemptToDismiss(IUIAdaptivePresentationControllerDelegate, UIPresentationController)
DidDismiss(IUIAdaptivePresentationControllerDelegate, UIPresentationController)
GetAdaptivePresentationStyle(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UITraitCollection)

The presentation style to use for the specified controller and traitCollection.

GetAdaptivePresentationStyle(IUIAdaptivePresentationControllerDelegate, UIPresentationController)

Returns the new presentation style to use after a change to the forPresentationController.

GetViewControllerForAdaptivePresentation(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UIModalPresentationStyle)

The view controller to use for the specified style.

PrepareAdaptivePresentationController(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UIPresentationController)
ShouldDismiss(IUIAdaptivePresentationControllerDelegate, UIPresentationController)
WillDismiss(IUIAdaptivePresentationControllerDelegate, UIPresentationController)
WillPresent(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UIModalPresentationStyle, IUIViewControllerTransitionCoordinator)

Called prior to presentation.

Applies to