Last call duration in objective c? [closed] - iphone

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm doing enterprise application. I need to detect last call duration from my application. I gone through core telephony framework but it will work only upto iOS 4.0. Can you please give me proper guidance to solve my problem.
Thanking you

Unfortunately you can't access the call history. The only User Data you have API access to is the address book. You can also access photos/pictures but only by starting an iPhone-controlled dialog that allows the user to choose a single image.
Note :-A CTCarrier object gives you information about the user’s cellular service provider, such as whether it allows use of VoIP (Voice over Internet Protocol) on its network. A CTCall object gives you information about a current call, including a unique identifier and state information—dialing, incoming, connected, or disconnected.
Read Link :-

Related

Swift app that allows two users to see a live updates drawing canvas [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm trying to build a swift app that would allow a user on one side to draw an image that will be updated in nearly real time on the other user's device, somewhat as if they were drawing on a whiteboard in person.
Anyone have any tips or places where I should start? I'm relatively new to swift. Thanks for your help.
This requires a persistent line of communication between your mobile device(s) and your server. Websockets allow this type of communication. I haven't implemented them myself so I can't provide implementation details, but there are plenty of resources available online.
Sockets with Swift
Websockets Tutorial
I think Realm is exactly what you are looking for.
Real time collaboration in as little as 10 lines of code

swift get another user location [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Hi I was shown an adroid app where parents can see their kids location. I am wondered whether it is possible to do the same in ios. I know you can show your own location but how about showing another person's location. Is it possible? Their kids should not have to do anything the app itself receives child's location
Well that would be if you have a database that everyone can access where you store the positions. Take a look at Firebase for the database part.
So basically:
Get the position from the user
Store the position in the database
Get the position from the database
Parse the result and add an annotation to your mapview
Edit
If your iOS app must keep monitoring location even while it’s in the
background, use the standard location service and specify the location
value of the UIBackgroundModes key to continue running in the
background and receiving location updates. (In this situation, you
should also make sure the location manager’s
pausesLocationUpdatesAutomatically property is set to YES to help
conserve power.) Examples of apps that might need this type of
location updating are fitness or turn-by-turn navigation apps
For more information read this guide by Apple.

Is is possible to develop an app to record phone conversations for iPhone? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Is it possible to develop an app to handle an incoming phone call for iPhone? I mean, I'm thinking to develop an app to record phone conversation for both outgoing and incoming calls.
If it is an outgoing call, can user make a standard phone call and the voice conversation be recorded?
If it is an incoming call, can app be opened/activated when there is an incoming call and the user talk while the conversation is recorded?
(There is a Core Telephone Framework:
but I don't know if it would help.)
Can anyone advise?
Ignoring legal implications, it is not possible over their provider's network.
(ex: Verizon)
This article goes into a little more detail.

Tracking anothe iphone on Mapview [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I want to developed iphone application in which i want to track another iphone on google map with in 10km region what kind of API can i use please tell me
Thanks
You'll need the device you're tracking to tell you its position. That means that it'll have to be running some app (possibly the same app) to get its position using Core Location. Then, it'll have to provide that information. As Richard Ross points out in his comment, you could do that using GameKit. Another approach would be to have the device send its location to a server that you create, perhaps using a web service. Your device would then query the server to find out the location(s) of device(s) it cares about.

How to identify internet connection type and it's current speed [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Hi I am testing my application for various types of internet connections with my device. I want my application send an internet request only if WI-FI is available and not in other cases like GPS ,WAP, 3G, etc....
Please also provide some information about how to check the current speed of that particular connection.
Thanks in advance
Use Apple's Reachability class to check for Wifi or WAN. Use this example and code: http://developer.apple.com/library/ios/#samplecode/Reachability/index.html
Checking the speed is more difficult, you would need to measure it by your own I think, maybe the best way is to ping and measure the response latency.