UITableViewDelegate.DidUpdateFocus 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示焦點已變更,如 中所述 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
。