net9.0-ios
namespace UIKit
{
    [Register("UIPresentationController", true)]
    [SupportedOSPlatform("maccatalyst")]
    [SupportedOSPlatform("ios")]
    [SupportedOSPlatform("tvos")]
    public class UIPresentationController : NSObject, INativeObject, IDisposable, IUIAppearanceContainer, IUIContentContainer, IUIFocusEnvironment, IUITraitChangeObservable, IUITraitEnvironment
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        [EditorBrowsable(EditorBrowsableState.Never)]
        [Export("registerForTraitChanges:withAction:")]
        [Obsolete("Use the 'UITraitChangeObservable.RegisterForTraitChanges (Class[], Selector)' method instead.", false)]
        [SupportedOSPlatform("ios17.0")]
        [SupportedOSPlatform("tvos17.0")]
        [SupportedOSPlatform("maccatalyst17.0")]
        public virtual IUITraitChangeRegistration! RegisterForTraitChanges(IUITraitDefinition![]! traits, Selector! action);
    }
}
Assembly Microsoft.iOS , Version=17.0.0.0, PublicKeyToken=84e04ff9cfb79065
Obsolete Use the 'UITraitChangeObservable.RegisterForTraitChanges (Class[], Selector)' method instead.
.NET 8.0-ios8.0-maccatalyst8.0-tvos9.0-ios9.0-maccatalyst9.0-tvos
OS Platforms

For the selected framework this API is only supported on the following OS platforms:

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

04/27/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙