How to intercept Call event in an application ?
CTCallCenter* callCenter = [[]CTCallCenter alloc] init];
[callCenter setCallEventHandler:^(CTCall* aCall) {
NSLog(@"Call Event:\n %@", [aCall description]);
}];
(Original sources: http://www.jesuisdeveloppeuriphone.com/2012/08/24/coretelephony-how-to-intercept-call-event-in-an-application/ )
Written by Vincent Saluzzo
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ios
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#