Using swift5 i tried below code but unable to make it a adjustable height of cell. Any one can help me in that?
tableView.rowHeight = tableView.frame.height/8
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
tableView.estimatedRowHeight = 100
return UITableView.automaticDimension
}
what I want
View Architecture