XIB cell里文本自适应高度方法

2020-07-16  本文已影响0人  海子_天空

H2在cell的高度方法里调用

   _tableView.rowHeight = UITableViewAutomaticDimension;
   _tableView.estimatedRowHeight = 85.0f;
   return self.tableView.rowHeight;
上一篇 下一篇

猜你喜欢

热点阅读