net9.0-ios
namespace UIKit
{
    [Protocol(Name = "UITraitChangeObservable", WrapperType = typeof(UITraitChangeObservableWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "UnregisterForTraitChanges", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(IUITraitChangeRegistration) }, Selector = "unregisterForTraitChanges:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "RegisterForTraitChanges", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(IUITraitDefinition[]), typeof(NSObject), typeof(Selector) }, ReturnType = typeof(IUITraitChangeRegistration), Selector = "registerForTraitChanges:withTarget:action:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "RegisterForTraitChanges", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IUITraitDefinition[]), typeof(Selector) }, ReturnType = typeof(IUITraitChangeRegistration), Selector = "registerForTraitChanges:withAction:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "RegisterForTraitChanges", ParameterBlockProxy = new[] { null, typeof(NIDActionArity2V174) }, ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IUITraitDefinition[]), typeof(Action<IUITraitEnvironment, UITraitCollection>) }, ReturnType = typeof(IUITraitChangeRegistration), Selector = "registerForTraitChanges:withHandler:")]
    [SupportedOSPlatform("tvos17.0")]
    [SupportedOSPlatform("ios17.0")]
    [SupportedOSPlatform("maccatalyst17.0")]
    public interface IUITraitChangeObservable : INativeObject, IDisposable
}
Assembly Microsoft.iOS , Version=17.0.0.0, PublicKeyToken=84e04ff9cfb79065
.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/30/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙