I am currently opening the link in my app in a WebView, but I\'m looking for an option to open the link in Safari instead.
WebView
since iOS 10 you should use:
guard let url = URL(string: linkUrlString) else { return } if #available(iOS 10.0, *) { UIApplication.shared.open(url, options: [:], completionHandler: nil) } else { UIApplication.shared.openURL(url) }