I have an application that shows presentations that are composed by pages.
Those pages can contain some kinds of media, and one of them is HTML, wich uses an UIWebView component as viewer.
What I need is some way to insert some kind of link into the HTML document so I can jump to another page of my application presentation.
In my research I have found that subclassing UIWebView is not recommended, so I have no clue of how I should handle this.
Many thanks in advance.
Provide:
in your app delegate (ref here).
It will be called each time the web view is about to load new content and give you the chance to do what you need. E.g., this would work if you embed a “file://” kind of URL in your web page: