Post

Replies

Boosts

Views

Activity

Comment on UICollectionView: Make the index fast-scroll to the section header instead of the first section item
Thank you for your suggestion. Yes, this is exactly what we did with the previous third-party view, using setContentOffset() to scroll the view to the correct section header after receiving the selected section in a callback. However, with the built-in approach, I don't know of any way we could be notified when the user changes to a different section via the index, i.e. we wouldn't know when to apply the scroll offset.
Dec ’21