Could not instantiate class named IBNSLayoutConstraint

后端 未结 8 1700
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-08 01:50

I\'m using XCode6 beta and trying out Swift. When I put some auto layout constraints in a view controller the app crashes with the following error: Terminating app

8条回答
  •  误落风尘
    2020-12-08 02:16

    There is an option in the inspector window when you select the xib file that will not use the constrains under "Show file the inspector" in the inspector called "Use autolayout".

提交回复
热议问题