2013年10月22日 星期二

ios 5 Could not instantiate class named NSLayoutConstraint問題

在 iOS 5 不支援 AutoLayout的功能,

若在storyboard或xib上建立 預設通常會把AutoLayout打勾,

但你用iOS5來發佈就會出現

Could not instantiate class named NSLayoutConstraint

的錯誤訊息。

只要將AutoLayout打勾取消即可解決此問題

沒有留言: