共用方式為


UITableViewDelegate.DidUpdateFocus 方法

定義

表示焦點已變更,如 中所述 context

[Foundation.Export("tableView:didUpdateFocusInContext:withAnimationCoordinator:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidUpdateFocus (UIKit.UITableView tableView, UIKit.UITableViewFocusUpdateContext context, UIKit.UIFocusAnimationCoordinator coordinator);
abstract member DidUpdateFocus : UIKit.UITableView * UIKit.UITableViewFocusUpdateContext * UIKit.UIFocusAnimationCoordinator -> unit
override this.DidUpdateFocus : UIKit.UITableView * UIKit.UITableViewFocusUpdateContext * UIKit.UIFocusAnimationCoordinator -> unit

參數

tableView
UITableView
context
UITableViewFocusUpdateContext

包含 UITableViewFocusUpdateContext 中繼資料的 物件。

coordinator
UIFocusAnimationCoordinator

包含 UIFocusAnimationCoordinator 中繼資料的 物件。

屬性

備註

PreviouslyFocusedIndexPath的值 NextFocusedIndexPath 可能是 如果焦點先前不在 內,或剛離開 , tableView 則為 null

適用於