Xcode set startup page

Time:2022-5-4

Preface: there are two ways to set the startup page in IOS: launch image and launchscreen

1、 Launch image

1. Search for asset catalog launch image set name in project targets — build settings, and then set the name of the created launch page, as shown in the following figure.

Xcode set startup page

Launchimage1.png

2. In info Delete in plistLaunch screen interface file base nameAnd addLaunch imageAnd setLaunchImage

Xcode set startup page

Launchimage2.png

3. Add launchimage to the resource file and put pictures of different sizes, as shown below:

Xcode set startup page

Launchimage3.png

4. Delete the installed app and repack it

Xcode set startup page

Launchimage4.png

2、 Launch screen

1. In info Add in plistLaunch screen interface file base nameAnd setLaunchScreen

Xcode set startup page

LaunchScreen1.png

2. Set launch screen file in project targets — General

Xcode set startup page

LaunchScreen2.png

3. On launchscreen Design startup page style in storyboard file

Xcode set startup page

LaunchScreen3.png

END

Recommended Today

Microsoft’s high-tech modular “tractor shed”

Microsoft has completed the construction of the primary stage of the Quincy data center in Washington, which is characterized by the infrastructure of plug and play for modular deployment, and the newly deployed cloud computing provides excellent flexibility. Quincy data center adopts a lightweight shape design, which is jokingly called “tractor shed” by Microsoft. Each […]