i want to set height constraint to my UITableView
so i can stretch it.
The problem is that im not getting accurate reading with tableView.contentSize.height
.
My table has 10 rows when each is 40px height.
tableView.contentSize.height
reads as 388 while
10 * 40 (which is the actual height is 400)
what am i missing here? thanks