Storyboard View Elements Greyed Out

后端 未结 3 673
旧巷少年郎
旧巷少年郎 2020-11-29 05:49

I\'m currently trying to edit a storyboard file, in Xcode 6 (not sure if this is an Xcode bug, or if i\'ve just done something), and when I go to the view i want to edit thi

3条回答
  •  借酒劲吻你
    2020-11-29 06:28

    If you want to make sure it works with any width and height, find the constraint:

    wAny hR

    and remove it by clicking on the x, leaving only installed checked:

    wAny hAny


    I think Xcode will stop adding these automatically if you set the view to Any Width | Any Height in the Storyboard:

    storyboard bottom bar

提交回复
热议问题