Pre-populate HTML5 offline appcache for a UIWebView in an iOS application
问题 Is it possible to create a UIWebView that has an HTML5 offline appcache pre-populated so that it will work offline even if it is the first time the user is accessing the UIWebView? If so, how? I know I can achieve this through other mechanisms, but the above is my first choice. And I'm just plain curious if it's possible. I'm seeing nothing about it in the documentation. 回答1: I think this may reduce to a question of whether you can programmatically write to the UIWebView's cache file (which