I also looked at inserting the elements in the collection in inverted order, scrolling down to the bottom of the collection view after the initial data has been loaded, and then adding subsequent pages of data to the "beginning" (top), but it was difficult to retain smooth scrolling using this approach. I am a little bit frustrated that it seems difficult to invert a collection view vertically, and would very much appreciate tips on if there is a recommended way of doing this.
Post
Replies
Boosts
Views
Activity
Thank you very much for your reply!
I saw the documentation for UIAccessibilityContainer, and looked at changing the accessibility elements on each snapshot update, like this
dataSource.apply(snapshot, animatingDifferences: false) {
collectionView.accessibilityElements = sort(collectionView.visibleCells)
}
That didn't really seem to change anything. Is doing anything else required, to make the update take effect?