1

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.

4

1 回答 1

2

不,一旦您将功能移交给电话应用程序,您的应用程序就会被置于后台,并且只有在用户手动返回时才会激活。

于 2015-02-24T11:29:24.353 回答