How can I programmatically get the number of the incoming call from Background application ?
Asked
Active
Viewed 5,627 times
4
-
2Please mark the answer that helped you the most as accepted. – Emil Nov 05 '10 at 15:11
3 Answers
7
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…

Emil
- 7,220
- 17
- 76
- 135
3
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.

Michal
- 4,846
- 3
- 33
- 25
3
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.