編輯

共用方式為


UITableViewSource.ShouldUpdateFocus Method

Definition

Called prior to the this either losing or receiving focus. If either focus environment returns false, the focus update is canceled.

[Foundation.Export("tableView:shouldUpdateFocusInContext:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldUpdateFocus (UIKit.UITableView tableView, UIKit.UITableViewFocusUpdateContext context);
abstract member ShouldUpdateFocus : UIKit.UITableView * UIKit.UITableViewFocusUpdateContext -> bool
override this.ShouldUpdateFocus : UIKit.UITableView * UIKit.UITableViewFocusUpdateContext -> bool

Parameters

tableView
UITableView

Returns

Attributes

Applies to