How to record call in iOS? [duplicate] - ios

This question already has answers here:
How can I record a conversation / phone call on iOS?
(5 answers)
Closed 5 years ago.
I don't want to see "this is not possible in apple", beacause there are some applications which are already on app store and they record call conversations. So please give me some idea on how to record call conversation in iOS application.

All active Audio sessions are put on halt when the call is active on iOS platform. It is not supported by Apple by design due to security & performance reasons. In short it's not possible to achieve what you mentioned without Jailbreak.

Apple Will not allow it. You can create your VOIP setup and then you can record call. Jail break is another option. There are Cydia tweaks which are able to do that. For example CallRecorder.

Related

iOS intercept notifications (notification listener) [duplicate]

This question already has an answer here:
Is it possible to intercept push notifications for another app?
(1 answer)
Closed 4 years ago.
Is there any way to read iOS notifications (like Android's NotificationListener)? I just need to know which app sent a notification.
No, iOS environment is totally different in this respect. It won't allow any application to read any info related to other applications. That's what makes iOS system so secure.
For the same reason(security purpose), you don't have access over notification area of iOS. So to put the answer in a single word it's "NO"

Detect current number calling - iPhone [duplicate]

This question already has answers here:
How to get phone number of incoming call in iOS Swift? [closed]
(2 answers)
Closed 5 years ago.
I am currently working on an app which should show informations about the current person calling when it is opened during an ongoing phone call.
So, I need to get the phone number of the person that is currently calling me when launching the app. I have read that it is not possible to do that. Is that right, because that would suck.
Thanks in advance for your help.
Because of the app sandbox, it's not possible to track the current caller with a third-party application, as it could be a security issue.

Get call history in iOS [duplicate]

This question already has answers here:
iPhone call log / history
(3 answers)
Closed 7 years ago.
I want details of dial calls,received calls and missed calls in a form of Array or List.
So, That I can display that records in UITableView of my app.
Please suggest me code for button touch up event instead of suggesting any links.
Not possible.
Luckily that is not possible. That kind of data and information is far too private to be accessible for everyone.
Something like that can only be achieved via private APIs or on jailbroken devices - both will not get you into the app store.
There is no API to access such private information

Handling phone shut down event in iOS [duplicate]

This question already has an answer here:
Is it possible to raise an event when iPhone shuts down?
(1 answer)
Closed 8 years ago.
I was wondering if I can be able to detect when the user turns off the phone. Is it possible? Does apple allow it? If they do, how? Thanks.
As shutting down the device is an external event and has nothing to do with your app, you won't be able to find out if the user is trying to turn it off. The only thing you can actually find out is when your application is going to enter the background, what does not necessarily mean that the user turns the device off.
Checkout UIApplication Delegate Ref
As far as I know there are only few notifications allowed from the UIDevice, you can find them here.
There are some undocumented private frameworks, which could provide you such information, but if you use them, your app will be rejected.

Can I get user's phone number by requesting for permission in ios 6? [duplicate]

This question already has answers here:
Programmatically get own phone number in iOS
(9 answers)
Closed 9 years ago.
I am building an IOS6 app which requires the user's phone number,
Is there a way to ask the user for permission and get the number in programmatic way?
Or he has to manually type it in?
I am using Xcode 4.5 if it matters..
You can't get the phone via any easy API within iOS. There might be a way to do it via the technique described in this related question, but this is a few years old and Apple may have closed this hole (which uses an undocumented key). I also wonder if Apple wouldn't allow the app on the App Store for privacy reasons. Probably not.
You'll have to trust the user to type in the correct phone number if you prompt him/her to.

Resources