-1

I have implement call function in my app. Call functionality work properly in iPhone but not work properly in iPad. When we press call button in iPad then call alert view dismiss but no functionality execute.

2 Answers2

0

You cannot make a call on iPad.

Reference link: https://discussions.apple.com/thread/5968677?tstart=0

Hope this helps!

Dharmesh Siddhpura
  • 1,610
  • 12
  • 22
0

You have to check that call feature is enable or not in device

NSURL *phoneUrl = [NSURL URLWithString:@"123456789"];
if ([[UIApplication sharedApplication] canOpenURL:phoneUrl]) {
    [[UIApplication sharedApplication] openURL:phoneUrl];
}
else{
    NSLog(@"Call facility is not available!");
}
kb920
  • 3,039
  • 2
  • 33
  • 44