开发者

method that will be called after call was ended

开发者 https://www.devze.com 2023-01-30 03:29 出处:网络
I want to do something after i finished call which is initiated from my app [[UIApplication sharedApplication]

I want to do something after i finished call which is initiated from my app

[[UIApplication sharedApplication] 
     openURL:[NSURL URLWithString:[NSS开发者_StackOverflow中文版tring stringWithFormat:@"tel:%@",mynumber]]];

i want to perform some method after the call finished or ended , which method will called when call was ended ? :S

thanks in advance

regards


That is not possible afaik. This call will terminate or suspend your app, and there is no real way of getting back to an active state.


You can call canOpenURL to determine whether calling that URL will actually work or not.

0

精彩评论

暂无评论...
验证码 换一张
取 消