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 @   Jake Lin  阅读(5058)  评论(0)    收藏  举报
点击右上角即可分享
微信分享提示