Swift dynamic table cell height [duplicate]
问题 This question already has answers here : Using Auto Layout in UITableView for dynamic cell layouts & variable row heights (27 answers) Closed 3 years ago . I have tableview with prototype cell, in the cell I have imageview and some text under. The text label is one laine in the prototype cell, but sometimes it is more than one line, I'm loading the data to the table view after server call. The label in storyboard Lines are set to 0 and Line Break to Word Wrap. I also tried http://candycode.io