xamarinios
namespace UIKit
{
    [Introduced(PlatformName.iOS, 9, 0, PlatformArchitecture.All, null)]
    [Protocol(Name = "UIFocusEnvironment", WrapperType = typeof(UIFocusEnvironmentWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetNeedsFocusUpdate", Selector = "setNeedsFocusUpdate")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "UpdateFocusIfNeeded", Selector = "updateFocusIfNeeded")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "DidUpdateFocus", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIFocusUpdateContext), typeof(UIFocusAnimationCoordinator) }, Selector = "didUpdateFocusInContext:withAnimationCoordinator:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "ShouldUpdateFocus", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UIFocusUpdateContext) }, ReturnType = typeof(bool), Selector = "shouldUpdateFocusInContext:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Weak, GetterSelector = "preferredFocusedView", IsProperty = true, IsRequired = true, IsStatic = false, Name = "PreferredFocusedView", PropertyType = typeof(UIView), Selector = "preferredFocusedView")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Copy, GetterSelector = "preferredFocusEnvironments", IsProperty = true, IsRequired = false, IsStatic = false, Name = "PreferredFocusEnvironments", PropertyType = typeof(IUIFocusEnvironment[]), Selector = "preferredFocusEnvironments")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Weak, GetterSelector = "parentFocusEnvironment", IsProperty = true, IsRequired = false, IsStatic = false, Name = "ParentFocusEnvironment", PropertyType = typeof(IUIFocusEnvironment), Selector = "parentFocusEnvironment")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "focusItemContainer", IsProperty = true, IsRequired = false, IsStatic = false, Name = "FocusItemContainer", PropertyType = typeof(IUIFocusItemContainer), Selector = "focusItemContainer")]
    [Unavailable(PlatformName.WatchOS, PlatformArchitecture.All, null)]
    public interface IUIFocusEnvironment : INativeObject, IDisposable
    {
        [Preserve(Conditional = true)]
        UIView? PreferredFocusedView
        {
            [Export("preferredFocusedView", ArgumentSemantic.Weak)]
            get;
        }

    }
}
Xamarin iOS 0.0
Xamarin tvOS 0.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

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