Answers for "call phone number in swift"

0

swift 5 make a phone call

if let url = URL(string: "tel://\(phoneNumberTextfield.text!)"),
UIApplication.shared.canOpenURL(url) {
UIApplication.shared.open(url, options: [:], completionHandler: nil)
Posted by: Guest on January-15-2021

Code answers related to "Swift"

Browse Popular Code Answers by Language