Swift tableview cell auto height with auto height label
问题 I have some problems with swift. Need to make tableview and in every cell to have image with text inside. This is what i made so far: First problem: Label should be auto height, now it breaks string.. Second problem: Image needs to be auto height too, and to depends on label height. Third problem: Row needs to be autoheight depending on its inside. TableViewController code: @IBOutlet weak var tableView: UITableView! override func viewDidLoad() { super.viewDidLoad() tableView.rowHeight =