Create a Splash Screen programmatically

Hey guys, I googled and watched a couple of videos and I couldn't find an example of how to create the splash screen programmatically. How can I do so?

Answered by KMT in 420399022

Splashs screens are discouraged..have been for a long time. See the HIGs.


Xcode projects automatically include a default launch storyboard for you. Add an image asset accordingly* and be done.


See https://developer.apple.com/documentation/uikit/app_and_environment/responding_to_the_launch_of_your_app/performing_one-time_setup_for_your_app?language=objc


*If you're asking for suggestions on macOS image management, those questions are best put to Apple's public community forums.

Accepted Answer

Splashs screens are discouraged..have been for a long time. See the HIGs.


Xcode projects automatically include a default launch storyboard for you. Add an image asset accordingly* and be done.


See https://developer.apple.com/documentation/uikit/app_and_environment/responding_to_the_launch_of_your_app/performing_one-time_setup_for_your_app?language=objc


*If you're asking for suggestions on macOS image management, those questions are best put to Apple's public community forums.

Create a Splash Screen programmatically
 
 
Q