Xcode 9 - “Fixed Width Constraints May Cause Clipping” and Other Localization Warnings

后端 未结 13 1049
失恋的感觉
失恋的感觉 2020-11-27 10:33

I downloaded the new Xcode and in Interface Builder I\'m having a ton of problems with warnings that say things like:

Fixed Width Constraints May Caus

相关标签:
13条回答
  • 2020-11-27 11:26

    I had the same problem, but when I changing to >= it automatically set the constant to 0, if I choose 60 for instance, the warning appears again. So I was in a loop with the problem.

    I could fix embedding my Label in a View

    Editor > Embed In > View
    

    In Label I set Top, Bottom, Leading and Trailing with constant = 0

    In View I set the constraints that I was expecting before.

    0 讨论(0)
提交回复
热议问题