Hi iPhone developers, I want to add a feature in my iPhone app, the are:
- call to a phone number in my app
- play a recorded mp3 voice to that number
- after call end, relaunch the previous app
I know I have to use following code snipt for dialing to a number XXXXXX:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:XXXXXX"]];
My be play record not worked, as my app will terminate when call dial launch. is there any way to do this?
And, after call ended, or call failed will my previous app relaunch?
please answer ASAP.