I want to access call log of iphone can this is possible - iphone

I want to developed a application in iphone with objective-c that is retrieve all call details That we can show incoming, outgoing and Missed call. can this is possible that we can do this.

No, in a non-jailbroken device, with the public API, we can't do this.

Related

Is there a way/framework to track the SMS (Number/day) and Call data (Minutes/day) on a normal iPhone (Not Jailbroken)

I am a beginner iOS developer and I am trying to build an app which tracks the users SMS (Number) and Call data (Minutes/day) only but have no clue which framework to use. CoreTelephony is of no use as per my knowledge. Any help would be appreciated!
Call Statistics and SMS Statistics are handled by the cell carrier, but are also recorded by the phone and are visible in the settings application. However, there is no way for your app to access this information (as far as i know). It would be a privacy concern and probably won't ever be available. Im sure there is a way to do it on a jailbroken device, but it sounds like thats not what you want. What exactly does your app do?

Can we play prerecorded message in a call through iPhone app?

I want to create an iPhone app with following features:
User should be able to make a call to number.
App will play the prerecorded message when call get connected.
After playing the message, line will be connected and user will be able to communicate with the person to whom he made the call.
I heard that Apple doesn't allow the developers to interact with the calling functionality of iPhone but is there any way to achieve this. Please suggest!
Thanks-
You have heard correctly, According to Apple Developer Library, it is not possible to intercept the calling functionality.
Simple Apple does not allow such stuff with current sdk.
Not so sure but, May be possible for jailbroken iPhone app.

Can we fetch the call details of an iPhone?

Can we fetch the call details like dialed numbers, missed calls of an iPhone?
UPDATE
Can we do it in jail broken phones for CYDIA store?
Yes, you can do it for jailbroken device.
The call history is stored in call_history.db.
No - Apple simply don't provide an API to do this.
No, no information about phone calls is available, nor SMS messages.
iOS apps are sandboxed to prevent developers from doing nasty things like sending that data back to their servers. It limits some potentially cool apps, but it also protects privacy.
Yes,You can't do with non-Jail Broken iphones. If you want to do that,you must have a jail broken iphone. API is not providing any private API to access their APplication SANDBOx.Apple will never provide due to security.

iPhone answering machine

Is it possible to create an iPhone application to answer incoming voice calls and play audio files back to the caller? If yes, before answering the call, is it possible to determine the caller id?
Thanks!
This is not possible using the SDK. You can most likely do it with a jailbroken app.
iPhone applications (non-jailbreak apps, at least) cannot intercept phone calls. When a phone call is initiated, your app is paused and cannot execute any commands.
Essentially, count on never being able to prevent basic functionality of the iPhone. You can't override texting behaviour, Mail.app behaviour, Safari behavior, etc. because Apple wants the user experience to be consistent (not to mention security issues in allowing an app to answer calls on someone's behalf).

iPhone phone call audio stream

Does the iPhone SDK allow you to hook into a phone call's audio stream? For instance, could you programatically place a call and send data to a receiving modem? If so, would you kindly point me to the API documentation?
No, it does not. Sorry. You can't even programmatically place a call using the SDK, only open a tel://5551212 link which will end your program.
No, there's no access to the calling features of the phone in the current SDK.