Call events in iPhone
问题 I am trying to get Call events (call received, call ended etc) I tried to run sample code of CoreTelephonyDemo, but I am not getting any call events. Can anybody guide me for the same. I tried this code in applicationWillResignActive but I am not getting any events. Am I missing anything or doing anything wrong? Please guide . - (void)applicationWillResignActive:(UIApplication *)application { CTCallCenter *callCenter1 = [[CTCallCenter alloc] init]; callCenter1.callEventHandler=^(CTCall* call)