Edytuj

Udostępnij za pośrednictwem


UIViewController.UpdateFocusIfNeeded Method

Definition

If any focus environment has a pending update, this method forces an immediate focus update. Unlike SetNeedsFocusUpdate(), this method may be called by any UIViewController, whether it currently contains focus or not.

[Foundation.Export("updateFocusIfNeeded")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void UpdateFocusIfNeeded ();
abstract member UpdateFocusIfNeeded : unit -> unit
override this.UpdateFocusIfNeeded : unit -> unit

Implements

Attributes

Applies to