Instance Method


Asks the delegate whether the cell at the specified index path is itself focusable.


- (BOOL)tableView:(UITableView *)tableView canFocusRowAtIndexPath:(NSIndexPath *)indexPath;



The table-view object requesting this information.


An index path locating a row in tableView.

Return Value

YES if the row indicated by indexPath; otherwise, NO.


The functionality of this delegate method is equivalent to overriding the cell's canBecomeFocused method. If YES is returned, then the cell at the specified index path is focusable, meaning none of its contents can be focused. ReturningNO means the cell itself is not focusable, however this does not prevent any of its contents from being focused. If this method is not implemented, then the return value is assumed to be YES.

See Also

Managing Table View Focus

- tableView:shouldUpdateFocusInContext:

Asks the delegate whether the focus update specified by the context is allowed to occur.

- tableView:didUpdateFocusInContext:withAnimationCoordinator:

Tells the delegate that a focus update specified by the context has just occurred.

- indexPathForPreferredFocusedViewInTableView:

Asks the delegate for the table view’s index path for the preferred focused view.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software