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 }

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-22
  • 2021-08-21
  • 2021-04-30
  • 2021-08-11
  • 2022-12-23
  • 2021-08-12
猜你喜欢
  • 2021-09-20
  • 2021-04-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-03
  • 2021-08-24
相关资源
相似解决方案