5

When switching between a Home Screen HTML web app to another app and back (iOS 7), the web app screenshot is just of a blank page. Is there a way of ensuring the screenshot reflects the actual state of the app before it went into background mode?

evilcelery
  • 15,941
  • 8
  • 42
  • 54
  • What do you mean by 'the web app screenshot'? Do you mean the webpage is blank, or are you trying to create a screenshot using some other app? – Donovan Dec 12 '13 at 16:04
  • I'm referring to the screenshot that iOS takes of your app under this situation: 1. Open a web app (app A); 2. Double click home button and switch to another app. 3. Double click the home button again to switch back to app A. The screenshot that is displayed of app A is a blank screen. – evilcelery Dec 12 '13 at 17:54

1 Answers1

1

I think its because your app gets reloaded everytime. You might want to look at this thread here or here.

It looks like it is default behaviour and the only way you can work around this is to use localStorage.

EDIT: Of course you would have to save the state of your app everytime the user makes an interaction since you do not have AppDelegate methods which get triggered when your app goes to background.

Community
  • 1
  • 1
dehlen
  • 7,325
  • 4
  • 43
  • 71