斯威夫特 :
var tableViewHeight: CGFloat { tableView.layoutIfNeeded() return tableView.contentSize.height}目标C
- (CGFloat)tableViewHeight { [tableView layoutIfNeeded]; return [tableView contentSize].height;}
斯威夫特 :
var tableViewHeight: CGFloat { tableView.layoutIfNeeded() return tableView.contentSize.height}目标C
- (CGFloat)tableViewHeight { [tableView layoutIfNeeded]; return [tableView contentSize].height;}