IPhone - how to be notified of the end of a call

I am developing an application that should act on completed phone calls, preferably immediately after the call is completed, but at least once a day.

I read the new CoreTelphony framework, and it looks like I can receive call events if my application is active, but I don’t see how to launch / wake my application when the call ends, if my application is not foreground. I also do not see how any of the new pseudo-background "modes" will allow my application to listen to these events in the background. Do any of you know how to do this?

If processing after a call is not possible, I would like to find out a way to automatically swell my application once a day, pull out all the call events from the moment I last woke up and process them. I know how to do this using Push or Local notifications, but I understand that this requires a user action; in this case, I just want the processing to be done automatically. Is there a mechanism that would allow this to be done?

Thanks Dan

+3
source share
1 answer

Unable to start the application without user interaction. Push / Local notifications are not designed for this kind of thing, they are designed to inform the user about the event.

, , , .

+2

Source: https://habr.com/ru/post/1748933/


All Articles