Reputation: 3725
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?
Upvotes: 4
Views: 655
Reputation: 944
I think you need:
[[UIApplication sharedApplication] openURL: [NSURL URLWithString:[NSString stringWithFormat:@"telprompt:%@",num]]];
Upvotes: 0
Reputation: 6067
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.....
Upvotes: 1