如何使用故事板在自定义 uitableview 中为 5 个 UILabel 系列提供约束?

how to give the constraints to series of 5 UILabels in the custom uitableview using storyboard?

因为我是 iOS application.In 我的故事板的新手,我在自定义单元格 uitableview 中有 5 个重要的 uilables。有人可以建议我如何为所有这 5 个标签提供约束.还添加了屏幕截图供您参考。

你可以为此使用 stackView

1.Embed StackView 中有 5 个标签

2.make StackView 等比例

3.Add space 任意多的间距 属性 (例如:我为每个标签添加了 20 space)

我的输出(为清楚起见,我给标签设置了黄色背景颜色)