我是iOS开发的新手。当试图在uitableviewcell中放置标签时,我遇到了一个问题。短信一直从牢房里传出去。我添加了所有所需的约束,但它不起作用。下面是我的设置和代码:
Title label attributes: Number of lines-0, Line breaks-Word wrap
viewDidLoad():
self.tableView.estimatedRowHeight = 68.0;
self.tableView.rowHeight = UITableViewAutomaticDimension;
cellForRowAtIndexPath():
UILabe