I have created a UITableview with custom UITableViewCell.The UITableViewCell contains UILabels and I have calculated the heig
Try this: tableView.backgroundView.bounds.size.height Should work
Logic:
UITableView has a property, backgroundView which is "A table view’s background view is automatically resized to match the size of the table view."backgroundView is a UIView which has the property bounds which is a CGRect that "defines the size and position of the view."CGRect has a size property, size has a height propertyQED