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
Reply to Removing dependencies for visionOS
Can you alter the filters under the Frameworks, Libraries, and Embedded Content section in your Target's settings under the General tab?
Replies
Boosts
Views
Activity
Jun ’23
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:
Replies
Boosts
Views
Activity
Jun ’23
Reply to iOS 16.4.1 - UICollectionViewController crashes
Was this change from a logged message to a fatal exception documented in the 16.4 Release Notes or elsewhere in UIKit documentation or headers? I can't seem to find it anywhere other than this Developer Fourms post.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’23