iphone Programming Glossary: callcenter
iOS 5 - CTCallCenter not working for me http://stackoverflow.com/questions/11215482/ios-5-ctcallcenter-not-working-for-me under didEnterBackground also tried in didResignActive i don't get any errors but i also don't get any results.. callCenter CTCallCenter alloc init callCenter setCallEventHandler ^ CTCall call NSDictionary dict NSDictionary dictionaryWithObject.. tried in didResignActive i don't get any errors but i also don't get any results.. callCenter CTCallCenter alloc init callCenter setCallEventHandler ^ CTCall call NSDictionary dict NSDictionary dictionaryWithObject call.callState forKey @ callState.. should get your notifications I tested this on a jailbroken iOS 5.0.1 iPhone 4 @property nonatomic strong CTCallCenter callCenter and register for notifications with void registerForCalls self.callCenter CTCallCenter alloc init NSLog @ registering for..
Detecting call state in iOS4 http://stackoverflow.com/questions/3319805/detecting-call-state-in-ios4 an ivar when you make the call you can tell that it's your application that made the call. For example CTCallCenter callCenter CTCallCenter alloc init callCenter.callEventHandler ^ CTCall call if call.callState CTCallStateDisconnected handle disconnect.. can tell that it's your application that made the call. For example CTCallCenter callCenter CTCallCenter alloc init callCenter.callEventHandler ^ CTCall call if call.callState CTCallStateDisconnected handle disconnect EDIT Re reading your question..
Core Telephony framework partially public in 4.0 http://stackoverflow.com/questions/3644557/core-telephony-framework-partially-public-in-4-0 launchOptions Override point for customization after application launch. window makeKeyAndVisible CTCallCenter callCenter CTCallCenter alloc init callCenter.callEventHandler ^ CTCall call if call.callState CTCallStateIncoming CTCallDisconnect.. for customization after application launch. window makeKeyAndVisible CTCallCenter callCenter CTCallCenter alloc init callCenter.callEventHandler ^ CTCall call if call.callState CTCallStateIncoming CTCallDisconnect call return YES iphone objective..
|