How can you execute code after the phone call is made? My app makes a phone call with the following code:
- (void)callTelURL:(NSURL *)url
{
UIWebView *webview = [[UIWebView alloc] init];
[self.view addSubview:webview];
[webview loadRequest:[NSURLRequest requestWithURL:url]];
[webview release];
}
I immediately get applicationWillResignActive, applicationDidBecomeActive and applicationDidEnterBackground but I never get applicationWillEnterForeground or applicationDidBecomeActive once the phone call has completed and I am back in my application. Is there something I can do to be notified when I have returned from my call so I can execute some code?