-1

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.

1 Answers1

1

Try adding your number and execute the code

if let url = NSURL(string: "tel://\(phoneNumber)") {
  UIApplication.sharedApplication().openURL(url)
}
good4pc
  • 711
  • 4
  • 17