更新时间:2023-11-22 22:05:40
删除前导和尾随约束,并将中心x对齐到imageView.
Remove leading and trailing Constrain and set align center x to imageView.
您还可以设置前导约束和尾随约束.但两者都相等.
You can also set leading and trailing Constrain. but both are equal as follow.
如何将UILabel与个人资料照片图像水平对齐?