Launch page, icon settings for iOS shelves

Source: Internet
Author: User

Today to the company project to do the start page, encountered a lot of small problems, but finally did come out, and share with you (note: Xcode version 7.3)
1. In addition to the start page, I set up the app logo by the way. The General Start page and logo icons are the company's art to design, we need to do is based on different equipment, made different sizes, image format must be set to PNG format . (Note: The size of the picture we do not need to go to Baidu, Apple in Xcode has corresponding size, we can do it according to the size of the corresponding, personal suggestions according to the size of the name of the photo, my this is not standard, preferably 58x[email protected], This is handy when dragging, with two sheets:

29pt is 29 pixels meaning 2x is 29*2, and so on, there is the name of the image is generally the beginning of the letter with the size of the pixel plus a few pixels, this is very important, it is said that the Apple system will automatically recognize several times the resolution, like this: [email protected], (then the picture of the pixel, can also be called size easy to understand, for 29*2) [email protected], (image of the pixel is 40*3)

2, logo icon set is very simple, we follow the system size to do their own pictures dragged to the corresponding position, if the wrong, Xcode will report the yellow error, to find the corresponding changes can be. Next, let's focus on setting up the startup page. The startup page settings can be set with Launchscreen.storyboard or Launchscreen.xib, and the Apple system defaults to this setting, which is a static page that cannot be edited with code. Therefore, we will use the next method to set the startup page, (^__^) hehe ...
The first step is to click Assets.xcassets and then click Add to add the Start Page item according to the steps in the diagram

After that, it is worth noting that the third part of the setup information, we can choose the app only for the iphone or ipad, as well as the iOS version of the required settings, specifically according to their own needs to set the right

Let me the hardest thing appeared, the size of the start page, focus on the show we click on a picture his right side will have a property display, where we can find the size of each device, it is worth noting that Size 5.5 HD There are two, look at the same, but their size requirements are exactly the opposite, when added must pay attention to (one for 1242x2208. The other is 2208x1242), I made this mistake myself, with a picture:

After you drag and drop the pictures, click Launchscreen.storyboard or Launchscreen.xib to uncheck the corresponding locations in the picture, as follows

Continue to see the picture in the picture sequence click on the fifth step in the image position

will appear as an interface, follow the steps in the diagram

Choose the name of the startup page we created earlier, and never choose the wrong

After the selection is finished, the third location of the content is removed, and the simulator is deleted before the version, and then run it (I did not delete, always unsuccessful, deleted after the good), you can see the start page you want to effect, if there is doubt, the message oh, we study together!!!

Launch page, icon settings for iOS shelves

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.