Implementing Multitasking on an iPhone/iOS4 Web App
Posted
by
Peter Watts
on Stack Overflow
See other posts from Stack Overflow
or by Peter Watts
Published on 2010-07-11T00:36:58Z
Indexed on
2011/01/11
16:53 UTC
Read the original article
Hit count: 269
iphone
|web-applications
I am looking to build a web app that implements background audio and fast app switching. These features work out of the box, when run as regular Safari web pages, but as soon as you add the web-app-capable tag, and try to run in full screen mode, this functionality breaks.
I did some testing and even the most basic web app will reload every time when you switch back to it. And seeing as it's a web app, we can't exactly implement the multitasking API. Has anyone found a work around?
This isn't a deal-breaker, as you can just avoid full screen mode, but then you also lose the ability to use your own icon in the app switch tray. Perhaps this explains a lack of full screen mode in YouTube's new web app....
© Stack Overflow or respective owner