共用方式為


UIViewController.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

實作

屬性

適用於