iOS 5解决Could not instantiate class named NSLayoutConstraint问题

如果使用Xcode 4.5来新建项目,默认是支持AutoLayout的,但是AutoLayout是iOS 6的新特性,如果在iOS 5的simulator上运行程序,会出现Could not instantiate class named NSLayoutConstraint问题。解决方法是打开storyboard文件,去掉AutoLayout的选择。

rob mayoff的神图一目了然。

posted @ 2013-01-13 08:43  Jake Lin  阅读(5052)  评论(0编辑  收藏  举报