net10.0-ios17.2
namespace UIKit
{
    [Protocol(Name = "UIAdaptivePresentationControllerDelegate", WrapperType = typeof(UIAdaptivePresentationControllerDelegateWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "PrepareAdaptivePresentationController", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIPresentationController), typeof(UIPresentationController) }, Selector = "presentationController:prepareAdaptivePresentationController:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillPresent", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIPresentationController), typeof(UIModalPresentationStyle), typeof(IUIViewControllerTransitionCoordinator) }, Selector = "presentationController:willPresentWithAdaptiveStyle:transitionCoordinator:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillDismiss", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UIPresentationController) }, Selector = "presentationControllerWillDismiss:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidDismiss", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UIPresentationController) }, Selector = "presentationControllerDidDismiss:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidAttemptToDismiss", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UIPresentationController) }, Selector = "presentationControllerDidAttemptToDismiss:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetAdaptivePresentationStyle", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UIPresentationController) }, ReturnType = typeof(UIModalPresentationStyle), Selector = "adaptivePresentationStyleForPresentationController:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetViewControllerForAdaptivePresentation", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIPresentationController), typeof(UIModalPresentationStyle) }, ReturnType = typeof(UIViewController), Selector = "presentationController:viewControllerForAdaptivePresentationStyle:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetAdaptivePresentationStyle", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIPresentationController), typeof(UITraitCollection) }, ReturnType = typeof(UIModalPresentationStyle), Selector = "adaptivePresentationStyleForPresentationController:traitCollection:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldDismiss", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UIPresentationController) }, ReturnType = typeof(bool), Selector = "presentationControllerShouldDismiss:")]
    [SupportedOSPlatform("maccatalyst")]
    [SupportedOSPlatform("ios")]
    [SupportedOSPlatform("tvos")]
    public interface IUIAdaptivePresentationControllerDelegate : INativeObject, IDisposable
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        [Export("presentationControllerDidAttemptToDismiss:")]
        [OptionalMember]
        [SupportedOSPlatform("ios13.0")]
        [SupportedOSPlatform("maccatalyst")]
        [SupportedOSPlatform("tvos")]
        virtual void DidAttemptToDismiss(UIPresentationController! presentationController);
    }
}
.NET
10.0
Information specific to net10.0
Platforms This API is only available when you target a specific platform:
iOS
10.010.110.210.311.011.111.211.311.412.012.112.212.312.413.013.113.213.313.413.513.614.014.114.214.314.414.515.015.215.416.016.116.216.417.017.2
Mac Catalyst
13.113.213.313.413.514.214.314.414.515.015.215.416.116.216.417.017.2
tvOS
10.010.110.211.011.111.211.311.412.012.112.212.312.413.013.213.313.414.014.214.314.414.515.015.215.416.016.116.417.017.2
Information specific to net10.0-ios17.2
Assembly

Microsoft.iOS , Version=18.5.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Preview The API is contained in a preview framework.
Platform Restrictions

This API is only supported on the following platforms:

  • iOS >= 13
  • Mac Catalyst
  • tvOS
  • Built-in API
  • Package-provided API