I have an app where we are using UIWebview to show HTML content.
Is there a reason you’re using UIWebView rather than the more modern WKWebView? WKWebView makes a variety of things easier, including this. Specifically, look at the various delegate callbacks in the WKNavigationDelegate protocol.
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"