Hi I want to build an app that does something when an incoming call comes in. But I think that the phone needs to be jailbroken on the iphone to access the class that does that. I want to do it without the phone being jailbroken.
Not possible.
However you may get the information like call state(connected/disconnected etc) using CoreTelephony framework.