0

If i make a call from an application using

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel://1234567890"]];

How can i check if the call is answered or unanswered

Thanks,

Zed
  • 57,028
  • 9
  • 76
  • 100
Timmi
  • 825
  • 2
  • 12
  • 24

4 Answers4

4

You cannot check this. When this URL is opened your application will be closed and phone app will be launched. Since you cannot access calls data from your app there is little you can do. This may be possible in jailbroken iPhone.

RaYell
  • 69,610
  • 20
  • 126
  • 152
0

Pop up a dialog when the app re-opens asking the user if the call went through. You better have a good reason for wanting to know though or the user will be mighty annoyed!

Otherwise you are out of luck.

Kendall Helmstetter Gelner
  • 74,769
  • 26
  • 128
  • 150
0

Not an iPhone app developer but is it possible to query the phone log the next time the app loads and check time on call or something and if it is over 20 seconds consider it completed or something like this?

0

There is no access to the iPhone phone from third party software. Luckily.

you can reffer

How can I check missed call in iPhone using Objective-C?

Community
  • 1
  • 1
Yasir Kamal
  • 443
  • 4
  • 10