How can i place the Label inside CollectionView so that nearest cell also affects the "Y" position of the Label ? https://developer.apple.com/tvos/human-interface-guidelines/visual-design/images/visual-design-animation.mp4
So the idea is, when you have Cell in focus that is near your UILabel, your UILabel change its "Y" position by +/- 20 points for example. I know that i have callback didUpdateFocusInContext(context: UIFocusUpdateContext, withAnimationCoordinator coordinator: UIFocusAnimationCoordinator), but i cant get UILabel center.y to change if Cell that is near in focus.
I have nested Collections. Main CollectionView have vertical scrollDirection and Cells that holds inside another Collections with horizontal scrollDirection.
Any help would be appreciated ) Thanx!
You can use Section header for that purpose. or you can calculate cell spacing according to the label.