Cannot equal height to Superview in Xcode 11

前端 未结 4 2028
一生所求
一生所求 2021-01-01 20:30

I upgraded my Xcode today to 11 and just realised that Xcode doesn\'t allow me to create proportional height from a sub view to the view controller\'s root view anymore. I w

4条回答
  •  粉色の甜心
    2021-01-01 20:38

    You can set your view equal to the Safe Area.

    If you still rely on having it equal to the root view itself, you can modify the constraint in the Attributes Inspector:

提交回复
热议问题