I am trying to download locally the PDF that is there on my UIWebView using code mentioned below.
Save PDF which is displayed by UIWebView locally
When I type, NSLog(@"pdfille==%@", pdfFile);
, I see output as pdfille==(null)
.
Any idea why file is not getting saved?
Is it because I am running the iOS program on Simulator and not on iPad?