Modify the project startup image in Xcode6, and xcode6 modify the project startup

Source: Internet
Author: User

Modify the project startup image in Xcode6, and xcode6 modify the project startup


Problem description:

Because of project requirements, you need to modify the startup Image of the project. At the beginning, the Image. xcassets opened directly are dragged in directly, and an error is returned, with no content

 

Solution:

1. Using Default.png and Default@2x.png results this method commonly used in the Xcode5 era is not useful in Xcode6

2. Create an Images. xcassets and modify

As a result, although no error is reported, the loading is a black screen (the loading image is not displayed)

Then try to modify the name, and an error is returned because the gallery names in different xcassets cannot be repeated.


Final Solution:

I was inspired by the Xcod6 new project and the launch file was selected just now. So I created a new xib and set the relevant content (background image, constraints, etc)

Then, set the location in the figure to solve the problem.


Summary:

1. I have always rejected Interface Builder, so I didn't try this method directly, so the problem could not be solved immediately. In fact, "no matter whether it is a white cat or a black cat, it is a good cat to catch a mouse"

2. The complex interface is still not suitable for IB, because many attributes are checked, which is not conducive to team member cooperation. Version Control is not perfect for storyboard and xib management.


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.