1 场景:
- 项目中需要将excel表格绘制到一个cell中进行展示,使用到一个表格第三方库实现后,运行过程中提示:
Attempted to access the table view's visibleCells while they were in the process of being updated, which is not allowed. Make a symbolic breakpoint at UITableViewAlertForVisibleCellsAccessDuringUpdate to catch this in the debugger and see what caused this to occur. Perhaps you are trying to ask the table view for the visible cells from inside a table view callback about a specific row?
大概意思意思就是visibleCells在显示的过程中不能去访问,让你增加一个 UITableViewAlertForVisibleCellsAccessDuringUpdate
断点,调试下看哪里的问题。
2 问题处理
- 步骤1 : 添加
symbolic breakpoint...
- 步骤2 :设置
UITableViewAlertForVisibleCellsAccessDuringUpdate
断点

-
步骤3 :重新运行项目
运行结果
接下来就根据你实际情况,进行处理即可
网友评论