i want dynamic get uitableview total height,not uitableviewcell,

height, ios, uitableview

Solution

You can use contentSize property of UITableView, but you should layout tableView first. Check this answer https://stackoverflow.com/a/2528123/1158590

Problem

I want dynamic get uitableview total height,not `UITableViewCell`, not frame, and i find `self.tableView.contentSize.height=0` for the first time, so i am very trouble in this problem,i need help please. thanks...

Original source