Apple with iOS 10 has deprecated openURL: for openURL:option:completionHandler If I have:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@\
Swift 5.0.1 and above
UIApplication.shared.open(URL.init(string: UIApplication.openSettingsURLString)!)