Post

Replies

Boosts

Views

Activity

Reply to iOS 16.4.1 - UICollectionViewController crashes
In our case, every crash log I've looked at appears to contain the same number of sections and items before and after the updates: Invalid batch updates detected: the number of sections and/or items returned by the data source before and/or after performing the batch updates are inconsistent with the updates. Data source before updates = { 1 section with item counts: [9] } Data source after updates = { 1 section with item counts: [9] } Updates = [ Insert item (0 - 1), Insert item (0 - 2), Insert item (0 - 3), Insert item (0 - 4), Insert item (0 - 5), Insert item (0 - 6), Insert item (0 - 7), Insert item (0 - 8) ] another: Invalid batch updates detected: the number of sections and/or items returned by the data source before and/or after performing the batch updates are inconsistent with the updates. Data source before updates = { 1 section with item counts: [5] } Data source after updates = { 1 section with item counts: [5] } Updates = [ Insert item (0 - 1), Insert item (0 - 2), Insert item (0 - 3), Insert item (0 - 4) ] Is it expected that this fatal exception occurs even with the before/after counts appear to be the same?
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’23