My Blog List

Android FirstAid Coding

A Small Help From a Small Heart
Powered by Blogger.

A software professional, who still likes to code, likes to blog and loves gadgets.

Saturday 7 September 2013

Back to Application after end of the call in iPhone

 

By using openURL we can make phone call from our app.


Problem:


It takes the users to the default Phone application after end of the call. But the users needs to go back to the app after end of the call.


Solution


NSString *phFormat=[NSString stringWithFormat:@"telprompt://0123456789"];           
[UIApplication sharedApplication] openURL:[NSURL URLWithString:phFormat]];

No comments:

Post a Comment