Masonry 自適應cell高度
首先設置
self.tableView.estimatedRowHeight = xx;
或
self.tableView.rowHeight = UITableViewAutomaticDimension;
然后在自定義cell中設置底部約束就可以了
Masonry 自適應cell高度
self.tableView.estimatedRowHeight = xx;
或
self.tableView.rowHeight = UITableViewAutomaticDimension;
然后在自定義cell中設置底部約束就可以了