我有一个带有TableView的ViewController。现在我想设置一个自动调整大小的单元格。单元格应包含三个或更多标签。如果我只有两个标签,则自动调整大小的单元格可以完美运行。但是一旦我添加第三个标签,第二个标签中的文本就不再换行。第三个标签下方是大量可用空间。Screenshothttp://stefangerard.com/images/selfSizing.png以上就是三个Label的约束。第一个标签(HelloCustomCell)constraintfirstLabelhttp://stefangerard.com/images/constraint1.png第二个