How can I get the height of a dynamic cell from the custom cell view.
I tried
let height = contentView.layer.frame.height
and
let height = contentView.frame.height
but all cells return 44 though the cells are different height.
On the viewController I have tableView.rowHeight = UITableView.automaticDimension
.
Can anyone please help. Thanks