V
Size: a a a
V
П
S
heightForRowAtIndexPath можно возвращать UITableViewAutomaticDimensionV
S
S
tableView.rowHeight = UITableView.automaticDimensionV
V
V
tableView.estimatedRowHeight = YourTableViewCellHeightS
tableView.estimatedRowHeight = 100S
V
V
tableView.estimatedRowHeight = 100S
tableView.rowHeight = UITableView.automaticDimensionV
tableView.rowHeight = UITableView.automaticDimensionS
S
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return UITableView.automaticDimension
}V
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return UITableView.automaticDimension
}