开发者

Programmatically get the number of the incoming call

How can I 开发者_开发知识库programmatically get the number of the incoming call from Background application ?


You cannot do this.

Apps running in the background can only do the following things: continue on something that won't last too long, play music or store current state in background.

Would you like it if one of your apps that you had been using picked up a phonenumber that called you and posted it on the internet? That may be one of the reasons why apple doesn't allow this…


I'm afraid there is no way to access that information. I believe it would be a security risk for apple to give developers access to such information.


if it's ok that such app will use private API(=forget about AppStore for this app) - you can see comments to How can I use private APIs to block incoming calls in an iOS application? without private APIs - no way.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜