I need to determine when an incoming phone call arrives. I know that applicationWillTerminate will be called if the user takes the call and applicationWillResignActive when the popup with the confirmation message for the call appears, however:
-applicationWillTerminate is also called when the app exits by user request or battery is about to die
-applicationWillResignActive is also called when a UIViewAlert is shown.
Thanks