I\'m currently developing an App, that needs to open a browser to display a webpage. To do that i use the [UIApplication sharedApplication] openURL method with
[UIApplication sharedApplication] openURL
Swift 4.1 with OS version check.
DispatchQueue.main.async() { if #available(iOS 10.0, *) { UIApplication.shared.open(url) } else { UIApplication.shared.openURL(url) } }