共用方式為


UIView.SetNeedsFocusUpdate 方法

定義

當 是作用中的焦點環境時 this ,會要求焦點更新,這可能會變更 PreferredFocusedView 。 (另請參閱 UpdateFocusIfNeeded())。

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

實作

屬性

適用於