IUIAdaptivePresentationControllerDelegate Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
| GetAdaptivePresentationStyle(UIPresentationController) |
Returns the new presentation style to use after a change to the |
| GetViewControllerForAdaptivePresentation(UIPresentationController, UIModalPresentationStyle) |
The view controller to use for the specified |
| PrepareAdaptivePresentationController(UIPresentationController, UIPresentationController) | |
| ShouldDismiss(UIPresentationController) | |
| WillDismiss(UIPresentationController) | |
| WillPresent(UIPresentationController, UIModalPresentationStyle, IUIViewControllerTransitionCoordinator) |
Called prior to presentation. |