i want my application to go to background and resume on call end
I am working on creating a call application, i am making a call from my app thr开发者_StackOverflowough
NSURL *targetUrl = [NSURL URLWithString:@"tel:123456789"];
[[UIApplication sharedApplication] openURL:targetUrl];
but by these ,my application quits , i want my application to go to background and resume on call end ...please help...
regards
Hi Using telprompt url instead of tel solved the issue
UIWebView *callWebview = [[UIWebView alloc] init]; NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"telprompt:%@", ph]]; [callWebview loadRequest:[NSURLRequest requestWithURL:url]];
精彩评论