user601367
user601367

Reputation: 2368

How to detect incoming and outgoing call END event in my Iphone app?

Here is a scenario: I make a call from my application .When the call ends i need to fire a event such as calling a web service .How can do with CTcallcenter in core telephony frame work ?

Thank you

Upvotes: 0

Views: 2885

Answers (1)

Aravindhan
Aravindhan

Reputation: 15628

you can use Cellular Call States for this purpose

CTCallStateDialing

The call state, before connection is established, when the user initiates the call.

CTCallStateIncoming

The call state, before connection is established, when a call is incoming but not yet answered by the user.

CTCallStateConnected

The call state when the call is fully established for all parties involved.

CTCallStateDisconnected

The call state upon call termination.

Upvotes: 3

Related Questions