Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Display Splash Screen for longer Time in iOS

    • 0
    • 0
    • 0
    • 0
    • 1
    • 0
    • 0
    • 0
    • 659
    Comment on it

    Splash Screen is the first screen which appear when we launch an application and disappear when the main screen get loaded. It appear for a few second to show that our app is fast and responsive .

    In order to display your splash screen more than its default time add the following code in your AppDelegate method application didFinishLaunchingWithOptions:

    -(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions: (NSDictionary *)launchOptions
     {
           [NSThread sleepForTimeInterval:2.0]; // set the time you want to display your splash screen.
     }

 1 Comment(s)

  • This seems a bit scary to me... What you really want to do is warm start your App while the hold-off is happening.

    I have always done this by displaying the LaunchScreen.storyboard (or the correct .png for device if using static png's) for the duration desired, then bring up the real UX.

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: