Xcode 11 add new constraints set zero: use set value instead of default / standard

前端 未结 8 2090
日久生厌
日久生厌 2021-01-30 10:22

I used to use autolayout add new constraints to make simple constraints to superview / relative view like this (for loooong time):

However, recently after upda

8条回答
  •  借酒劲吻你
    2021-01-30 10:53

    This behavior seems to be fixed on Xcode 11.4: release notes

    Fixed a bug that prevented entering a 0 constant in the constraint popup editors. (54076090)


    Original Answer:

    I just found this behavior too, I tried adding the constraints 1 by 1 and Xcode actually respected the 0 value.

    My two cents.

提交回复
热议问题