4

I want to use telprompt:// scheme to return to my application after it makes a call. But I have a problem.

If remote person is busy two buttons are shown to me: Redial and Cancel. So if I press Cancel I won't return to my application. Is there any way to handle it?

P. S. Isn't telprompt:// in Private API?

efpies
  • 3,625
  • 6
  • 34
  • 45

2 Answers2

1

Here You can Use the WebView and Load Request on it.

 UIWebView *callWebview = [[UIWebView alloc] init];   
 NSURL *telURL = [NSURL URLWithString:[NSString stringWithFormat:@"tel://%@", phoneNumber]
 [callWebview loadRequest:[NSURLRequest requestWithURL:telURL]];

I am Sure It would work with Charm.....

Kamar Shad
  • 6,089
  • 1
  • 29
  • 56
0

I think you need:

[[UIApplication sharedApplication] openURL: [NSURL URLWithString:[NSString stringWithFormat:@"telprompt:%@",num]]];
Pavlo Zhukov
  • 3,007
  • 3
  • 26
  • 43
vualoaithu
  • 936
  • 10
  • 9