iOS development-launch image and Launch screen

Source: Internet
Author: User

Launch image is the app's startup image, Launchscreen is the function after iOS8, both can set the app's startup picture. IOS8 after the official recommended the use of launch Screen.xib, in the xib through the ImageView set up the image, both methods are more suitable for development use.

Launch Image Mode

Launch image mode should be the most common way, first you need to create a new Launch image, as shown in:

2. Modify the supported settings and machine types to give different sizes for different screens:

3.ios7/ios8 need to use the size, iphone6p 1242x2208, or 1080x1920 (Retina HD 5.5); IPhone6 's 750x1334 (Retina HD 4.7) 4-inch screen (iphone5/5s) of 640x1136 (Retina 4), 3.5 inch (iphone4/4s) of the 640x960, is 2x;

If you are not very clear about the size of the screen, please refer to the official Apple document https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/ Mobilehig/iconmatrix.html#//apple_ref/doc/uid/tp40006556-ch27-sw1

5. In the final step, you need to select Launchimage in the common settings and set the Launchscreen to null at the same time:

This address: http://www.cnblogs.com/xiaofeixiang/

Launchscreen Way

Laucnscreen.xib is relatively simple, directly in the Xib settings, such as adding a imageview, set the background image, the effect is as follows:

The picture is set as follows:

3x is 1080*1920 (iphone6p), Retina 4 2x is 640*1136 (iphone5s), 2x size 750*1334 (iPhone6), iphone4s is also 2x;

Both ways are relatively simple, the weekend, I hope you can play a happy point ~

iOS development-launch image and Launch screen

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.