Rajan Maheshwari
Rajan Maheshwari

Reputation: 14571

phone call failure or disconnected call backs while making a phone call

On a button click I am making a call inside my app by using the following code

NSString *phoneNumber =@"telprompt://123-4567-890"; 
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:phoneNumber]];

I want to do some working if the call is failed or disconnected (might be due to low balance or network signal problem). Is there any delegate for call disconnect or failure for doing this? Any help will be appreciated.

Upvotes: 1

Views: 125

Answers (1)

Gary Riches
Gary Riches

Reputation: 2875

No, once you have handed over functionality to the telephone app your app is then put in the background and will only be activated once the user goes back to it manually.

Upvotes: 2

Related Questions