【发布时间】:2019-06-26 11:40:05
【问题描述】:
我正在填充 UITableView,但出现了一个我无法理解的奇怪错误。我知道如果不进一步了解该项目,您将无法解决此问题,但有谁知道此错误消息的含义以及可能导致它的原因。
2019-06-26 13:35:22.383456+0200 TapetDemo[97178:2284706] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Attempted to access the table view's visibleCells while they were in the process of being updated, which is not allowed. Table view: <UITableView: 0x7fb4f981f000; frame = (0 85; 375 812); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x600003b30570>; layer = <CALayer: 0x6000035e5640>; contentOffset: {0, 0}; contentSize: {375, 44}; adjustedContentInset: {0, 0, 0, 0}; dataSource: <_UIFilteredDataSource: 0x600003b30660>>'
´´´
【问题讨论】:
标签: swift uitableview tableview