开发者

Best System to Store a Web Page on a iPhone?

开发者 https://www.devze.com 2023-01-06 05:10 出处:网络
I have a unique and interesting difficulty: I need to find a way to (semi-)permanently store an html page on 开发者_JAVA技巧the iPhone, but the protocol and method I choose is up to me: for example, I

I have a unique and interesting difficulty: I need to find a way to (semi-)permanently store an html page on 开发者_JAVA技巧the iPhone, but the protocol and method I choose is up to me: for example, I could request that the files be packaged in a zip archive, then download it via a URL and unzip it on the iPhone to store/view. I think it would be complicated to download the page using straight html (see this question), and URLCache seems to be designed to download one resource at a time.

Does anyone have any suggestions for a system that will make this task relatively simple without adding significant time to till I can display the page on-screen?


I decided to go with the suggestion by Kalle, since I didn't need the zip program to do any heavy lifting. Unzipping is surprisingly fast, so it suits my purposes very well. I may have to clean up the code a bit though.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号