My iPhone app initiates a phone call with:
NSURL *phoneURL = [NSURL URLWithString:[NSString stringWithFormat:@"tel://%@", @"11111111"]];
[[UIApplication sharedApplication] openURL:phoneURL];
This is from a UIView
inside a UINavigationController
. It is not the root UIView
however.
When the phone app is finished with the call and returns control to my app, the screen that the user is returned to is not the screen that the user left. It is the root screen of the UINavigationController
.
How do I get [UIApplication sharedApplication]
to return control at the screen that the user left?