From what I understand by using code like this:
NSURL* appUrl = [NSURL URLWithString: @\"URL\"];
[[UIApplication sharedApplication] openURL:appUrl];
<
Swift 3
private func showAlertPrivacy() {
let alertController = UIAlertController(title: nil, message: "messagePrivacy", preferredStyle: .alert)
let alertNo = UIAlertAction(title: "No", style: .default) { (_) in
}
alertController.addAction(alertNo)
let alertSetting = UIAlertAction(title: "Settings", style: .default) { (_) in
UIApplication.shared.open(URL(string:UIApplicationOpenSettingsURLString)!, options: [:], completionHandler: { (_) in
})
}
alertController.addAction(alertSetting)
present(alertController, animated: true) {
}
}