How do I read the record of incoming and outgoing calls on my iPhone using Xamarin?

Asked

Viewed 6,054 times

8

How do I read the history log of incoming and outgoing calls on iPhone using Xamarin?

I need to read the log of the calls/ made on iPhone. I do not know how to do and I did not find any material in Portuguese on the subject. Can anyone help me in this question? I opened another related question about the SMS history record on iPhone.

  • I am starting an application by Xamarin with iphone, I need to read the log of the calls that each device makes or receives, to show the user how much time he spent with his call .

  • see if it helps, it’s with android, but I think the best reference is here

  • 1

    Hello @rcaratchuk, welcome to Stack Overflow! Take a look at our FAQ to see how it works. When writing your question, it’s important to list what you tried to do to solve the problem and add details about what you want to do.

  • 1

    I put this question (and her sisters) under discussion at the goal: http://meta.answall.com/questions/521/tres-questions-broadquestions-whatever to do

2 answers

10

Apple has no API on the SDK to access call logs.

In the Xamarin Developer Center for IOS if you use the search box, with the term "call log" an API will appear, but it is for Android.

I’m sorry, but with the "original" operating system you won’t be able to access this data.

  • 3

    Really @rcaratchuck, I was going to answer this question, but Zuul beat me to it. Neither this question nor the other about SMS can be asked on iOS without the use of Jailbreak. There is no Apple API that allows this.

2

Apple doesn’t have any API on the SDK to access the call log for security and privacy reasons: to prevent Apps from collecting private user information and using or sharing with third parties.

On Android there is how to do this and if the device has Jailbreak you will also be able to do this, but it is not a good practice to require your user to have Jailbreak, because this type of App is not approved in the official Apple Appstore, only in Cydia (App Store of the world of Jailbreak).

Unfortunately you can’t do that you need.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.