|
Launch Image App is the start picture, LaunchScreen functional iOS8 after the app you can set both the start picture. After iOS8 official recommended the use of Launch screen.xib, xib's start by setting ImageView images of two methods are more suitable for development use.
Launch Image Information
Launch Image mode should be the most common way, you first need to create a Launch Image
2. Modify settings and support the machine type, give different for different screen sizes:
3.iOS7 / iOS8 need to use size, iPhone6p of 1242x2208, or 1080x1920 (Retina HD 5.5); iPhone6 of 750x1334 (Retina HD 4.7) 4-inch screen (iPhone5 / 5s) of 640x1136 (Retina 4), 3.5-inch (iPhone4 / 4s) of 640x960, it is 2x;
If you are the size of the screen is not very clear, then you can refer to Apple's official documentation https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html#//apple_ref/doc/uid/TP40006556 -CH27-SW1
5. The last step is set, you need to set up inside the selected LaunchImage in general, while LaunchScreen set to null.
LaunchScreen way
LaucnScreen.xib relatively simple, and settings directly in xib, such as adding a ImageView, set the background image
3x is 1080 * 1920 (iPhone6p), Retina 4 2x is 640 * 1136 (iPhone5s), 2x size 750 * 1334 (iPhone6), iPhone4s also used 2x;
Two methods are relatively simple, the weekend, I hope we can play happy point ~ |
|
|
|