Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Blank screenshot in app switcher in iOS 7 (HTML web app)

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?

like image 489
evilcelery Avatar asked Nov 10 '22 16:11

evilcelery


1 Answers

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.

like image 66
dehlen Avatar answered Dec 27 '22 07:12

dehlen