Swati Swati - 5 months ago 23
Objective-C Question

UIWebView: Images are not updating

I am using UIWebView to load HTML Page. From that HTML I have generated PDF file. My PDF file content changes as per the HTML data changes. when I change the Signature(Image) of the user in application respective PDF will not change to new signature. It shows the previous signature.

How can I reload that UIWebView?

Answer

[webView reload] should do the trick.

If you are using a new URL you can use [webView loadRequest:[NSURLRequest requestWithURL:theURL]];