When we want to develop a more beautiful iOS software, beautiful icons and boot images are essential. Generally, there are two methods, one is set through the Xib file and the other is set by Assets.xcassets. But the second I did not master, first to record the first method, the second to learn to update.
1. Click on the project to set the launch screen file to Launchscreen
2. Click the project, right-create a new file
3. Select User Interface on the left, select View, click Next
4. File name is Launchscreen
5. Create the following page
6. Put the picture that needs to be set as the start page in the project
7. In the lower right corner select the ImageView control, left mouse button down drag into the previous step to establish the Xib page, and adjust the ImageView control size, make it suitable for xib page, fill in the upper right corner of the start picture name
8. Click the top of the Xib page to adjust the size of the phone (iphone6s virtual machine is selected here, size is set to 4.7)
9. Click on the top of the Xib page, as shown in the three options of the red box
10. Click Run, running the program, successfully
11. Set the Start Page dwell time, in -(BOOL) Application: (uiapplication *) application Didfinishlaunchingwithoptions: (nsdictionary *) Add code inside the Launchoptions function [nsthread SLEEPFORTIMEINTERVAL:3.0];
IOS Launchscreen Set the startup picture and set the start page dwell time