So, I have a tvOS app where I have a UICollectionView. I'm able to use the following delegate callback to the the IndexPath of the next focused cell.
override func collectionView(didUpdateFocusIn context: ...)
The CollectionView has one Section and n number of cells that fall into it. So, when I get an IndexPath of [0,8]
all that tells me is that it's the 9th item from the left. But, the first row only has 8 cells, so in reality its the first item on the left side of the second row.
How do I determine what row it's actually rendered on?