I have a web page that I would like to display in a Web View in my app. But the page has links. Is there any way I can suppress all links on a page when it is being displayed in a WebView
The best way for you to write a parser and replace hyperlinks with #/remove the <a> retaining the link-text.
I guess UIWebView has some delegates to be override
Hope it helps.
-- N Baua
Alternatively, I did see a forum post in the last few days about how to retrieve the HTML of a downloaded page back into your C#. Using that would allow you to use C# to replace any links, before putting the HTML back into the WebView.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies