Development exception information for versions earlier than ios6.0: reason: 'Could not instantiate class named nslayoutconstraint'

Source: Internet
Author: User

New Features of ios6: auto layout attribute. This attribute is only available for ios6 and later versions;

Exception message during running of versions earlier than ios6: Terminating app due to uncaught exception 'nsinvalidunarchiveoperationexception', reason: 'Could not instantiate class named nslayoutconstraint
'

Use Cases: iPhone and iPad 4.5/5.0 Simulator for xcode 5.1)

Solution: Disable the use auto layout option of the storyboard or XIB interface file, because the auto layout feature is newly added to iOS 6 and is not supported in the previous 5.0/5.1 simulator.


 

Reference URL: http://www.cocoachina.com/bbs/read.php? Tid = 116558

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.