I have a custom UIViewController with a UIWebViewDelegate. I've presented a webpage based on a url.
I'm having issues with some of the links on this page as they are relative paths. Tapping on those links do nothing but I'd like to get the links opened in safari or within the view controller.
I've experimented with getting the contents of the URL NSString(contentsOf: url, encoding: someInt)
and trying to add the baseUrl back but this is very clunky and not ideal.
Are there other ways I can approach this?