I have a button in my app that places a call when touched.
Code -
let call = detail.value(forKey: "Phone") as? String
if let url = URL(string: "tel:/
{
UIApplication.shared.open(url, options: [:], completionHandler: nil)
}
However, when touched, a pop up appears asking to "Call" or "Cancel". Is there a way to take the user direct to the phone app and avoid this pop up?