Thanks for the reply. That's not my post on Stackoverflow but I'm experiencing a similar crash that percolates up to -_createPreparedCellForGlobalRow:withIndexPath:willDisplay
The crash report for my app doesn't actually get to -tableView:cellForRowAtIndexPath: Instead I can see it all starts from my app checking the .visibleCells property on the table view:
0 CoreFoundation 0x19c789e48 __exceptionPreprocess + 164
1 libobjc.A.dylib 0x195a5b8d8 objc_exception_throw + 60
2 Foundation 0x19704a94c _userInfoForFileAndLine + 0
3 UIKitCore 0x19eaa0888 -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] + 572
4 UIKitCore 0x19ea744cc -[UITableView _updateVisibleCellsForRanges:createIfNecessary:] + 596
5 UIKitCore 0x19e9adb28 -[UITableView _updateVisibleCellsNow:] + 1088
6 UIKitCore 0x19e9785e8 -[UITableView _visibleCellsUsingPresentationValues:] + 340
7 MyApp 0x103125120 -[MyTableViewSubclass checkIfLoadingCellIsIsVisible]
The checkIfLoadingCellIsIsVisible just enumerates the .visibleCells property on the table view, looking to see if a "loading more" cell is in the visible region of the table view. I've been unable to reliably reproduce the crash. Haven't managed to reproduce it at all when attached to the debugger. I picked up two of these crash reports today since I updated to iOS 16.2.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: