I’m creating an Mac app that loads some content from a URL in a WebView and then needs to save the content to a file. The content may and may not be HTML. Loading works fine, the problem is to get the content from the WebView. How do I do that?
Thanks!
I do not know if you use WebView (MacOS) or UIWebVoew (iOS…). I use the following code (in MacOS) which works well for me: