I have a piece of code (my app) which I want to run for each incoming call in the iphone.
So I'm looking for a function like: On Before Incoming Call ();
is there anything like that?
I have a piece of code (my app) which I want to run for each incoming call in the iphone.
So I'm looking for a function like: On Before Incoming Call ();
is there anything like that?
You should check the applicationWillResignActive: method in your UIApplicationDelegate.
Check the UIApplicationDelegate method
- (void)applicationWillResignActive:(UIApplication *)application
In case of incoming telephony interruption this method will be invoked!