UITableViewAutomaticDimension

tableView.rowHeight = UITableViewAUtomaticDimension

UITableViewAutomaticDimension is the default value for rowHeight,

it is useful for understanding what is going on. Setting the
estimatedRowHeight property on the table view can improve performance. Instead
of asking each cell for its height when the table view loads, setting this property allows
some of that performance cost to be deferred until the user starts scrolling.

 

posted @ 2016-03-31 10:29  Master HaKu  阅读(2898)  评论(0编辑  收藏  举报