Fix iOS could not load NIB in bundler

Source: Internet
Author: User

Just when iOS was running, there was a problem that the nib file could not be loaded while loading Tableviewcell in Tableviewcontroller.

Then Baidu a bit, most said to be loadnibnamed:@ "nib name" when the nib is wrong, of course, this is also a problem,

But my problem is not caused by this.

Project needs co-development, colleagues submit a file I updated, in the targets under the build phases in the copy Bundle resources did not add the nib file, the nib file added in the problem solved, the project runs smoothly.


Two cases of loading nib failure

1.nib file name is not written wrong (I usually copy, not to write it myself)

2.nib files have been added to the project (described above)

Fix iOS could not load NIB in bundler

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.