iOS Tutorial – Creating a Splash Screen
Splash screens are the “title page” of your app. While, at times, it will display the name of the app, more often than not, it displays the company that created the app. Or it’ll do both. You may have also noticed that several splash screens will allow you to tap to skip ahead to the next screen. Unless, of course, the developer wants you to see their logo for a certain period of time, or the screen is being displayed as a “curtain” while the app gets loaded in the background.
In this first of many tutorials, we’re going to demonstrate how to create a simple splash screen that appears for a certain length of time.
(Note: In future tutorials, we will be adding more functionality to our apps.)
Let’s get started, shall we? (Note: If you’ve already started an app and you want to add a splash screen at any time, start with step 7)
1. With your favorite image editor, create a 320×480 pixel image and draw anything you like on it.
2. Save it as Default.png. (The name must be Default.png with a CAPITAL D. The iPhone Simulator doesn’t care about the capital, but the actual device does.)
3. Open Xcode.
9. Browse to the default.png file you just created.
10. Make sure Copy items into destination group’s folder (if needed) is checked.
Congratulations! You now have a splash screen that appears for approximately 5 seconds then goes right into your app. I know! I was surprised about how easy it was as well! And we didn’t have to write on piece of code. The next time you open the app, it may disappear quicker. The duration depends on how quickly you app loads.