ios如何将uitableview的单元格高度设置为零?
table view . row height = 0;
或者在代理方法中设置,例如:
-(CG float)table view:(UITableView *)table view heightForHeaderInSection:(NSInteger)section
{
返回0;
}
或者在代理方法中设置,例如:
-(CG float)table view:(UITableView *)table view heightForHeaderInSection:(NSInteger)section
{
返回0;
}