UIView.UpdateFocusIfNeeded UIView.UpdateFocusIfNeeded Method


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

[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


Applies to