Take the 2-minute tour ×

I am using tel:{phone-number} to initiate call from my application.

I want to know if I can set a callback url for my application, so that once the call ends My Application starts (resumes) again.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Not sure about using a callback, but you can use a UIWebView to make a call without leaving your app. In this case escapedPhoneNumber is an NSString containing the number you want to call:

NSURL *telURL = 
[NSURL URLWithString:[NSString stringWithFormat:@"tel://%@", 

// using a UIWebView here allows us to make a call without leaving the App
UIWebView * callWebview = [[UIWebView alloc] init];
[self.view addSubview:callWebview];
[callWebview loadRequest:[NSURLRequest requestWithURL:telURL]];
share|improve this answer
Thank You, That works !!! –  Vishal Kardode May 29 '12 at 12:41

Your Answer


