I add "phone" image in my app. When I press that phone image, it calls instantly. However, all I want to make is that when I press, then show the phone dialup keypad appear that make to think to call or not.
I make it in swift. Here is my codes.
if let phoneCallURL:NSURL = NSURL(string: "tel://\(phoneNumber)") {
let application:UIApplication = UIApplication.sharedApplication()
if (application.canOpenURL(phoneCallURL)) {
application.openURL(phoneCallURL);
}
}