I am new to iOS app development and I am using swift language , I am stuck at adding call options when you click button. Please help me by defining your code.
Asked
Active
Viewed 343 times
-1
-
can you show ur code – Anbu.Karthik Jul 22 '16 at 06:20
-
2try find a video tutorial on the basics... – Fonix Jul 22 '16 at 06:21
1 Answers
1
Try adding your number and execute the code
if let url = NSURL(string: "tel://\(phoneNumber)") {
UIApplication.sharedApplication().openURL(url)
}

good4pc
- 711
- 4
- 17