防止tableview下移

xiaoxiao2021-02-28  6

-(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{

 if (section==0) {

  //return 0;

  return section ==0?0.1f:8.0f;

 }

 return 0.5;

}

转载请注明原文地址: https://www.6miu.com/read-1150242.html

最新回复(0)