How can I download files with a UIWebView? By that, I mean, how can I determine if a request contains the URL for a file download, such as a .zip, .txt, .doc, .mp3, etc. file. Once I have the URL for the download, it is easy to download it using NSData. But how can I find the URL of the download.
For example, say that a user goes to firefox.com, and clicks the Download firefox button. How could I get the URL where I can download firefox from this way? As is, my app does nothing when I click the download button. So my question is, how can I make it respond?
I'm very new to UIWebView, and don't know HTML, so if I can't do this in UIWebView classes, how could I do it using HTML-parsing? Thanks for your help in advance.
For example, say that a user goes to firefox.com, and clicks the Download firefox button. How could I get the URL where I can download firefox from this way? As is, my app does nothing when I click the download button. So my question is, how can I make it respond?
I'm very new to UIWebView, and don't know HTML, so if I can't do this in UIWebView classes, how could I do it using HTML-parsing? Thanks for your help in advance.