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