AX ERROR: Could not find my mock parent, most likely I am stale
使用设计好的cell做为表头视图,控制出现的log,挺有意思。
1 - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section 2 { 3 4 IoriTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"DataDetailHeadCell"]; 5 cell.ownerTableView = tableView; 6 [cell updateCellContent:[(DataDetailDataSource*)dataSource headArray]]; 7 cell.selectionStyle = UITableViewCellSelectionStyleNone; 8 return cell; 9 10 }