The app opens articles in UIWebView, and i need the links of those articles to open on SFSafariViewController (it's mandatory). So far it will open on the webview and mess up my user experience. My WebView loads HTML Strings and load the content, like below.
override func viewWillAppear(animated: Bool) {
super.viewWillAppear(animated)
self.webView.loadHTMLString(article.content, baseURL: nil)
}
With the content, links will come, like the image below. screenshot of the app
How can I make those links of my articles open on SFSafariViewController? What should I do since it comes from HTML Strings and i don't know the article links url?