Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding Screen Before Splash

Can i add some images(3) on scroll view to flip them as page controller and include them with the splash, so that they only appear when someone install's the application or when newer version is installed... is their a way of doing it programmatically instead of adding xib .. any help ... coding will be much appreciated .. Thanks in advance

like image 563
iOSBee Avatar asked Dec 19 '12 05:12

iOSBee


People also ask

What is the difference between launch screen and splash screen?

Splash Screen is the very first screen the user sees when they open up an app on a mobile device. It's the very first chance of creating a positive impact on the users. It appears while the app is loading when the user has just opened up the app. Many times the Splash screen is called a launch screen.

Are splash screens necessary?

Definitely, yes, you should create splash screen it if your app needs some time to load. If there is a delay more than 5-7 seconds, you need a splash screen undoubtedly.

What does splash screen on startup mean?

“Alternatively referred to as a boot screen, boot skin, or welcome screen, the splash screen is an introduction page that is displayed as a program or computer is loading or booting. Typically the splash screen can include a logo or other image, as well as a company name, and sometimes the company's slogan.”


1 Answers

You cant show them along with the Default launch image. You can only show a static image there. But when the user is using the app for the first time, you can show this particular view once the app is launched and then from second time onwards you can disable it. You can set a property in NSUserDefaults for this once you have shown this view to the user so that from second time onwards, user wont see it again.

NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
NSString *string = [defaults objectForKey:@"didShowCustomView"];

if ([string isEqualToString:@"YES"]) {
  //show the custom view

  //once it is shown, set the value in user defaults
  [defaults setObject:@"YES" forKey:@"didShowCustomView"]; 
  [defaults synchronize];
}
like image 132
iDev Avatar answered Sep 23 '22 01:09

iDev