xamarinios
namespace UIKit
{
    [Introduced(PlatformName.iOS, 8, 0, PlatformArchitecture.All, null)]
    [Protocol(Name = "UITraitEnvironment", WrapperType = typeof(UITraitEnvironmentWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "TraitCollectionDidChange", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UITraitCollection) }, Selector = "traitCollectionDidChange:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "traitCollection", IsProperty = true, IsRequired = true, IsStatic = false, Name = "TraitCollection", PropertyType = typeof(UITraitCollection), Selector = "traitCollection")]
    public interface IUITraitEnvironment : INativeObject, IDisposable
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        [Export("traitCollectionDidChange:")]
        [Introduced(PlatformName.iOS, 8, 0, PlatformArchitecture.All, null)]
        [Introduced(PlatformName.iOS, 8, 0, PlatformArchitecture.All, null)]
        [Preserve(Conditional = true)]
        void TraitCollectionDidChange(UITraitCollection? previousTraitCollection);
    }
}
.NET 6.07.08.09.0
Information specific to xamarinios
Assembly

Xamarin.iOS , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API

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