- 博客(2)
- 收藏
- 关注
原创 删除tableview的section遇到crash:The number of rows contained in an existing section after the update
原因:删section必须用deleteSections。 删row必须用deleteRowsAtIndexPaths。 另外,删了后,数据源需要相应地删,否则数据不一致,crash - (void)ignore:(NSInteger)sectionIdx { [_tableView beginUpdates]; //[_tableView deleteR
2013-05-22 10:03:01 8167
原创 CGRect的width为nan时导致界面异常
if(FileStatusReceiveNew == self.model.status || 0 == self.model.fileProgressLength) self.model.progress = 0; // self.model.progress = nan会导致下面一行绘制界面时界面出异常, 无法push FileViewerViewController. 点击该
2013-05-02 14:40:32 1043
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人