How to record a phone call in iOS programmatically?

I want make a app that will record a phone call. I have searched but not didn't get the satisfactory solution. Is it possible in iOS?

Last I heard it is prohibited for store distribution.

You will need a redirect phone service to record you calls. So you will have to build a phone app and redirect all those calls to your own phone server to record those calls and build a options to import those calls in your app again. Incoming calls will not work at all because you can't redirect incoming calls. Those apps on the appstore are not worth it.


But such type of application are available on app store.

Yes. I can also see some apps. Like: Rev Call Recorder.
So how do they do that? 🤔
How to record a phone call in iOS programmatically?
 
 
Q