IOS exception and Error Accumulation

Source: Internet
Author: User

1. The corresponding method is not found.

'Nsinvalidargumentexception ', reason:'-[testclass initevent]: Unrecognized selector send to instance 0x10011b330'

2. aviewcontroller. XIB cannot be found. It may be because the XIB name is wrong.

22:52:33. 922 helloiphone [667: c07] *** terminating app due to uncaught exception 'nsinternalinconsistencyexception', reason: 'Could not load nib in Bundle: 'nsundle </users/Xue/library/Application Support/iPhone simulator/6.0/applications/063d5459-6be3-43a6-8eb3-f03a43c42917/helloiphone. APP> (loaded) 'with name 'aviewcontroller''

3.

Reason: 'Could not instantiate class named nslayoutconstraint

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.



Related Article

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.