Hi All,
I want to develop an iPhone callerID application. I have following challenges to develop
How to detect incoming call? Need to start my app when an incoming call occurs
Please help me out..I am new to iPhone development.
Thanks, Srikanth
Hi All,
I want to develop an iPhone callerID application. I have following challenges to develop
How to detect incoming call? Need to start my app when an incoming call occurs
Please help me out..I am new to iPhone development.
Thanks, Srikanth
You can't do this. iOS apps cannot launch themselves without direct user interaction, and incoming calls suspend any apps that are already running.
I'm fairly certain this would be impossible in the iOS framework. Incoming calls suspend any active application and take priority over other operations. Further more even if you did manage the overwrite the iOS app lifecycle I think it is highly unlikely that Apple would approve the application because it attempts to replicate the functionality of the Phone app's caller ID. Apple doesn't like it when you try to replace their products (Ask Google Voice). They may have started to loosen up a little on this (See Opera browser and Skype apps) but I think this one would get flagged and rejected.
Short answer: you can't.
Apps are started when a user requests it, so you can't tell an app to start when a call comes in.
And an already running app is suspended when a call comes in. You can't pick up any detail about the call.