以下是我的组件层次结构:
查看控制器视图-查看-表视图---表单元格1.标题标签2.编辑按钮3.删除按钮
我提供了如下约束:
标题标签:
Leading space to superview
trailing space to Edit button
bottom space to superview
top space to superview
编辑按钮
trailing space to remove button
leading space to title label
bottom space to superview
top space to superview
删除按钮
Trailing space to superview
width = 40
leading space to edit button
align center Y
height = 40
我正在收到标题标签“编辑和删除按钮的警告'需要X和宽度”。
有帮助吗?