Convert UIWebView Context to Image and PDF files.