For best performance, if all your rows are the same height, use the rowHeight property. It is available both from code and for Interface Builder.
If you want to configure individual row heights, you need to implement the tableView: heightForRowAtIndexPath: delegate method. It is a bit slower but more flexible.
source share