nextFocusedIndexPath
Returns the index path of the cell containing the context’s next focused view.
Declaration
var nextFocusedIndexPath: IndexPath? { get }Discussion
This property returns the index path only when the nextFocusedView is located within a cell of the table view. Otherwise, it returns nil. This can happen if focus is moving out of the table view, because the nextFocusedView isn’t associated with an index path in this table view.
When focus is moving from one table view to another, each table view delegate is called with previouslyFocusedIndexPath and nextFocusedIndexPath configured for its specific table view.