Ios swift download pdf webview save

Create a new file in the root of your project folder and name it webview.html. This file '$1'); }; // Export to window window.app. My goal is to download a text file into a URL and then open that URL in a tableview. data to do whatever we want, in my case I show the PDF file in a WebView.