Offline iOS web app: loads my manifest, but doesn't work offline

后端 未结 13 2119
温柔的废话
温柔的废话 2020-12-04 05:57

I\'m writing a web app to be used offline on iOS. I\'ve created a manifest, am serving it up as text/cache-manifest, and it usually works fine, when running in

13条回答
  •  盖世英雄少女心
    2020-12-04 06:51

    I found this solution that seemed to work for me, since I also ran into this problem during my development. This fix has worked fine for me so far and also for other people that I've asked to test it with, and I'm able to get it running offline (in airplane mode) and off the home screen after caching and whatnot. I've written a post about it on my site:

    http://www.offlinewebapp.com/solved-apple-mobile-web-app-capable-manifest-error/

    1. Delete your current web app icon on the home screen.
    2. Go to settings and clear your Safari browser cache.
    3. Double tap your home button to open the multitasking bar. Find the Safari one, hold your finger down on it, and exit it.

    Please let me know if this works for you also! Good luck!

提交回复
热议问题