0

Hi is it possible and legally to show the splashscreen when my app return from background.. If yes.. what I have to insert into this code? Thanks

- (void)applicationWillEnterForeground:(UIApplication *)application
{

}
user1639377
  • 117
  • 1
  • 7
  • It will be unpleasant for users, seeing it every 2 minutes. Even if you want to do....Load the UIView having all images and text that you want to have in your splash screen. – Anoop Vaidya Dec 20 '12 at 11:29
  • that would happen if your application terminates when going into background. But do you want to preserve the state of your application before going into the background? – zahreelay Dec 20 '12 at 11:30
  • Yes I know but at the moment I've not other solutions. I need it – user1639377 Dec 20 '12 at 11:31
  • Yes I need to save the state of my app before going into the background – user1639377 Dec 20 '12 at 11:31
  • The splashscreen is loaded only when application starts, so the only method is to simulate it, putting a UIImageView to the window when application comes back from background. – Marco Pace Dec 20 '12 at 11:32
  • It's possible to do, but why do you want to do that? Your user wants use your app, not look at a splash screen. – occulus Dec 20 '12 at 11:50

1 Answers1

0

I needed the same thing in few of my applications - simply add a UIImageView to window. And show it once application goes to background and fade it out after a delay :)

See this answer for more details: https://stackoverflow.com/a/10967054/894671

Community
  • 1
  • 1
Guntis Treulands
  • 4,764
  • 2
  • 50
  • 72