so i am learning new tvOS. Because I wanted to reproduce the horizontal section of the app storeβs feature (for example, βBest New Appsβ)
My plan was to use a UITableView to create a basic structure (rows) and use a UICollectionView for all the individual horizontal scrollable elements.
Unfortunately, tvOS always focuses the UITableViewCell, not the UICollectionViewCell inside. I already read about
override var preferredFocusedView: UIView? { return aView }
Thus, using this inside my controller is very difficult to get the right spy.
Is there anything that I could study, or can someone point me in the right direction? Iterating over all the subzones until I get the right one seems like a bad idea.
Thanks a lot!
source share