Making a call programmatically from iPhone app and returning back to the app after ending the call
This is my code :
NSURL *url = [NSURL URLWithString:@"telprompt://123-4567-890"];
[[UIApplication sharedApplication] openURL:url];
Use this so that after call end it will return to app.