AnonBird desires to attract extra consideration to this query:
If not potential, give a potential workaround.
I need to have the ability to save the state of a WKWebView when a consumer quits out of my app and be capable of restore it to precisely the way it was when the consumer returns to the app. I need it to revive web sites with kinds, on-line calculators that retailer the historical past of calculations, or any web sites that make Javascript objects dynamically. How can I do that?
I’ve tried the createWebArchiveData methodology right here however when saving and restore an internet archive model it doesn’t put the show information again precisely the way it was. After I restore it from an internet archive it’s like I simply refreshed the web page which isn’t what I need.
I’m not in a position to make use of any of the HTML5 storage strategies or use any evaluateJavaScript strategies to deal with this since I need to have the ability to save and restore the state for any web site I go to.