开发者

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]];

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜