Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

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)
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #swift #phone #call
ADD COMMENT
Topic
Name
9+3 =