Question : swift 5 make a phone call
Answered by : nathan-hedgeman
if let url = URL(string: "tel://\(phoneNumberTextfield.text!)"),
UIApplication.shared.canOpenURL(url) {
UIApplication.shared.open(url, options: [:], completionHandler: nil)
Source : https://www.tutorialspoint.com/how-to-make-phone-call-in-ios-10-using-swift | Last Update : Fri, 22 Jan 21