Archive/Unarchive UIWebView?

后端 未结 1 1240
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-10 22:12

I would like to save the current state of an UIWebView to disk in IPhone SDK.

I have a UIWebView that loads a website with lots of javascript. I would like to save the U

相关标签:
1条回答
  • 2021-02-10 22:54

    I tried to do this on a previous project and there's no built-in serialization of UIWebView. There's a couple of ways to cache just the page but not the entire state such as javascript variables. This would require that the JVM's state be serialized as well which is not possible with the current SDK APIs.

    0 讨论(0)
提交回复
热议问题