How to save a .webarchive in UIWebView?
-
10-02-2021 - |
Question
I am following this tutorial and was wondering how I can save the current webpage as a .webarchive with the code I am using from the tutorial?
Help is very much appreciated - thanks!
Solution
You can't. Unlike its Mac counterpart WebView
, UIWebView
has no API for creating web archives. It can display webarchives that have been created on the Mac though (e.g. using Save as... in Safari).
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow