How to align two buttons equidistance from the centre of the UIView

后端 未结 3 1875
隐瞒了意图╮
隐瞒了意图╮ 2021-02-06 07:29

I am working with auto layout . Facing on interesting issue . Fortunately overcame from it for the time but need to know the best way to solve it .

3条回答
  •  借酒劲吻你
    2021-02-06 08:13

    try Aligning leading edge of your btn2 and trailing edge of your btn1 with center y of your view set constant to 0 and multiplier 200:160 and 120:160 respectively where your center y is second item

提交回复
热议问题