我有一个带有设置的表格 View :
self.tableView.rowHeight = UITableViewAutomaticDimension;
self.tableView.estimatedRowHeight = 50;
它在 5/5s、6/6s、7 时工作正常,但在 6s+/7+ 时不工作,图像拉伸(stretch)。
最佳答案
将Uiimageview的content mode改成Aspect fill,解决你的问题
关于iOS estimatedRowHeight 不适用于 plus 设备,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44793096/