Common errors in iOS development

Source: Internet
Author: User

1. Cuicatalog:invalid Asset name supplied:

This tip means that you're using this method.

[UIImage Imagenamed:name]; But the name is empty, so it's a mistake.

Workaround, search the project for [UIImage imagenamed:, and then print to see if the so-called name is empty. After the replacement is found.

2. Responding to event issues

If you set the emulator's keyboard to connect to your computer's keyboard, then setting the control to be the first responder of the keyboard will not pop up (set keyboard in the emulator's hardware) and some events that pop up from the bottom will sometimes not respond. 3, The navigation bar sets the color of the button on the System navigation bar: Self.navigationController.navigationBar.tintColor = [Uicolor blackcolor]; Set navigation bar does not penetrate: (the default is whether penetration is not tested , depending on the system version may have different effects) [Self.navigationController.navigationBar Settranslucent:no];

Common errors in iOS development

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.