I'm hitting a peculiar problem with accessibility in iOS 13.
I have a calendar that's implemented as a UICollectionView. If VoiceOver is turned on, the collection view is empty - it simply doesn't get populated with any UICollectionViewCells.
I've overridden the correct UICollectionViewDataSource calls. numberOfSections and collectionView(numberOfItemsInSection) are called, and returns correct nonzero values. But collectionView(cellForItemAt) is never called. That's what doesn't make any sense to me; it knows how many sections and how many items I have, but it doesn't care to ask about the items.
If I turn off VoiceOver, then it'll call collectionView(cellForItemAt) and it populates my collection view properly. And in iOS 12, everything works fine whether or not VoiceOver is on.
What am I missing, or how can I debug this? How could the state of VoiceOver affect whether my collection view gets populated?