1、cell全部應(yīng)用自動(dòng)布局
2、tableView初始化時(shí)
tableView.rowHeight = UITableViewAutomaticDimension;
tableView.estimatedRowHeight = 100;
3、不再實(shí)現(xiàn)設(shè)置行高代理方法
///不再實(shí)現(xiàn)該方法
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath;