Hello I've button action for call number , but when I used it don't call and nothing shows.
My codes under below.
@IBAction func callPhone(sender: AnyObject) {
UIApplication.shared().canOpenURL((NSURL(string: "tel://1234567890")! as URL))
}
Thank You !
Aucun commentaire:
Enregistrer un commentaire