NSInvalidUnarchiveOperationException: Could not instantiate class named NSLayoutConstraint

来源:互联网 发布:引导页源码 编辑:程序博客网 时间:2024/05/21 16:59

NSInvalidUnarchiveOperationException: Could notinstantiate class named NSLayoutConstraint 解决方法:

出现这种错误是由于xib使用了Use Autolayout(在控件属性的show the file inspector中可以找到),把这项前面的对勾去掉就好了。

原创粉丝点击