开发者

iphone sdk 4.1 Is it possible for a background application to get cellular call events?

开发者 https://www.devze.com 2023-01-15 18:00 出处:网络
I am trying to use CTCallCenter in a background application to receive CTCallCente开发者_如何学Pythonr events. Is this possible?Yes and No.... It\'s complicated.

I am trying to use CTCallCenter in a background application to receive CTCallCente开发者_如何学Pythonr events. Is this possible?


Yes and No.... It's complicated.

If your application is running a background task, then yes you will get events in the background. The problem is that background task will timeout in ten minutes (currently). So you can only get call events for the first ten minutes after going into the background....

0

精彩评论

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