iPhone Tutorial for Creating a Splash Screen

Introduction:

Some people asked me about creating a splash screen in iPhone. So today I am going to write a simple tutorial on creating splash view for your application. I will write another post on good looking splash page as well. Its really a small thing but have a really good impact on your users.

So lets use this image as your splash screen (This is Skype application splash screen)

Step 1:Create a new Xcode project and name it Splash. Open the SplashViewController.xib file and change the background colour to white. Run the application and you will see a black screen appear before it shows you white screen.

Step 2:Drag the above image in to your resources file. Rename the file to Default.png. Run your application, you will see that this image will be a splash screen for your project (Its so easy !). So the concept is that sdk provide you a way to display user something before your application loads fully into memory. So default.png file basically shows user that something is coming and give iPhone time to load resources required for the application into memory. You can add any image on your application and name it Default.png and it will become your starting (splash/default) screen.

Now you want that your splash screen will be displayed around 2-3 seconds before it display the main screen to user or you want to load something from server. So to do that, I am going to use model view which will be shown to user and hide after 3 seconds. You can customized it if you want to hide it from code either then using fixed time.

Step 3:In SplashAppDelegate.m file write this line at the end of applicationDidFinishLaunching method.

[viewController showSplash];

Step 4:In your SplashViewController.h file write these two methods definitions and also add a IBOutlet variable.

Splash Screen code

Now watch me doing it

My name is Adeem M Basraa. I am a software engineer from Lahore, PK. I’ve been involved in software development for nearly 4 years, with the last 1 year focused on application development for mobile devices (iPhone & Android).

where i can find if you know a tutorial that help to make and understand a calculation process

My Idea:
two entry-field: –to write in any number as input.–
one label: –to get the result from the number in the input field–
One button: –to execute the action. (plus, less, multiplying or dividing calculation)–

This was the starting point I needed to get a splash screen working. My ‘first view’ in the tab controller is a UINavigationController, but I soon figured out the minor changes required. Note: remember to add [modalViewController release]; at the end of the -showSplash method (is production code).

Awesome tutorial, but how do you make this work on an existing application?
I have a simple DrillDown App called … er … DrillDownApp so I have RootViewController.h and .m DrillDownAppAppDelegate.h and .m and DetailViewController.h and .m as classes.
Do I add code to RootViewController.h or .m or do I need another View and if so how do I get from that View to the RootViewController.

This is aweeeeesome!!!!!!!!!
Can you be my private online teacher?
I’m a newbie on programming and i really wanna to have an iphone application created by myself!!!
Would you kindly please teach me step by step how to command a button to navigate to another page? And, do i need to add a new file in the same project (but i don’t know which folder to add it to >..<
ristin

My splash screen behave very differently than expected…
Instead of showing the splash view for few seconds it shows the main window…
I ended up putting my splash image in the main window (without any need to do any mapping in the Interface builder and it works.

Granted I am doing something wrong here and if someone have any clue what it might be I would be more than happy to know what I did to mess things up.

I should probably mentioned that I have started from an existing project I have and not from a brand new project as outlined in this tutorial.