Swift 5 Make A Phone Call

[Solved] Swift 5 Make A Phone Call | Swift - Code Explorer | yomemimo.com
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

Answers related to swift 5 make a phone call

Code Explorer Popular Question For Swift