Sdílet prostřednictvím


UITableViewController.ShouldUpdateFocus Method

Definition

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

[Foundation.Export("tableView:shouldUpdateFocusInContext:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldUpdateFocus(UIKit.UITableView tableView, UIKit.UITableViewFocusUpdateContext context);
[<Foundation.Export("tableView:shouldUpdateFocusInContext:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.ShouldUpdateFocus : UIKit.UITableView * UIKit.UITableViewFocusUpdateContext -> bool

Parameters

tableView
UITableView

Returns

Implements

Attributes

Applies to