UIWebView pdf controls?

My application has a UIWebView. When a user clicks a PDF link in the UIWebView, the PDF opens up into the UIWebView. However, there are no buttons that allow a user to close the PDF to return to the prior UIWebView page. Similarly, there is no button for sharing the PDF or saving the PDF. How can I add that to my UIWebView? I don't want to open the PDF externally in Safari.

This is an older example I've applied in the past - no idea if it will bork under current tools, etc. but it still might shed light on how to make this work:


h t t p s : / / github.com/brow/leaves

UIWebView pdf controls?
 
 
Q