Xcode 5 - Storyboard - Has no constraints

前端 未结 3 897
青春惊慌失措
青春惊慌失措 2020-12-29 05:57

Does anyone know why I get the following message:

\"The selected views have no constraints. At build time explicit left, top, width, and height constraints will be g

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-29 06:38

    Found the solution!

    Select the ViewController then from the XCode menu:

    Editor --> Resolve Auto Layout issues --> Add missing constraints in View Controller

提交回复
热议问题