IOS (i) UI AppIcon and Brandasset (launchimage)

Source: Internet
Author: User
first, let 's start by creating the simplest program

After clicking, select Single View application, then click Next

Enter project name and continue to point next

Select the place to create the project, click Create

One of the simplest projects has been created.
Two: Let's get this program running (direct COMMAND+R)1, whether the app icon or the loading interface is blank, how to make our app has its own icon and launch interface?
2, I used Prepo this software, open the software, drag the picture in, you can automatically generate different size of the picture (to meet the official requirements of apple size), according to the size of the picture correctly dragged into the corresponding icon (do not know how to drag into the icon.) When selected, the right will prompt the box to drag into the size of the picture, if you want to create an ipad icon, as long as the right to select the ipad, and then drag the picture into the ipad box can be successful

Now is:

3, how to add the launch interface, find targets > General > App Icons and Launchimages Here are two options Launch Images source and Launch screen File , with the launch Images source, on behalf of a similar method with AppIcon, import different sizes of pictures to fit different screens (remember to empty launch screen file)


3.5 inch:

Pixel size: 640x960 fit with IPhone 4

4.0 inch screen:

Pixel size: 640x1136 fit with IPhone 5


4.7 inch Screen:

Pixel size: 750x1334 fit with IPhone 6

5.5 inch screen:

Pixel size: 1242x2208 adaptation of the IPhone 6 Plus clicks launch Images Source in the use Asset Catalog, and then appears migrate Laugh Images ..., click Migrate


In the Asset.xcassets will appear a brand Assets, the picture according to the size of the above to resize, and then dragged in can, run, you can see the launch screen you think the splash screen is too short. In APPDELEGATE.M-(BOOL) Application: (UIApplication *) application didfinishlaunchingwithoptions: (NSDictionary *) Add a piece of code in the Launchoptions method

[Nsthread sleepfortimeinterval:1.0];//Extended startup page time



Next iOS Boot interface (that is, the first download app will appear in the interface)

http://blog.csdn.net/u012723810/article/details/49888497


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.