Post

Replies

Boosts

Views

Activity

orthogonalScrollingBehavior paging - getting current cell in center
I have a UICollectionView that is using groupPagingCentered orthogonalScrollingBehavior to show images in cells, almost one cell for the screen. I have a toolbar that can act on the current image. Because there seems to be no access to the scrollview, I have no way of telling where a user has paged to to act on it. --------------------------------+ |-+ +------------------------+	+-| | | |												| | | | | |												| | | | | |												| | | | | |												| | | | | |												| | | | | |												| | | | | |												| | | | | |												| | | | | |												| | | | | |												| | | | | |												| | | | | |												| | | | | |												| | | |-+ +------------------------+	+-|--------------------------------+ Is there any way of getting what the user has paged to? (ie: the current centred cell after the user has moved to a new cell) It seems that Scrollview delegates are not available when using orthogonalScrollingBehavior.
2
0
3.8k
Jun ’20