當使用TableView的時候下滑就會崩潰免姿,而且僵尸斷點找不到
就會報這個錯誤
-[UITableView _configureCellForDisplay:forIndexPath:], /BuildRoot/Library/Ca
意思是說
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
返回了一個大于0的值
而這個值對應(yīng)的cell返回的卻是nil - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
}
檢查一下你這個回調(diào) 得返回有問題 這個必須得返回cell