How to save a .webarchive in UIWebView?
-
10-02-2021 - |
题
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!
解决方案
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).
不隶属于 StackOverflow