iPhone, call another phone number in response to the first not answering?

后端 未结 5 1462
生来不讨喜
生来不讨喜 2021-02-02 11:51

I am attempting to create an application that will initiate a call to a priority 1 contact on a call-center-like list.

Then, if that contact does not answer (let\'s forg

5条回答
  •  误落风尘
    2021-02-02 12:19

    if you wanna setup a new call, while app is in background, i dont see any proper way for this, a lil hack could be, getting location update (because u can get location updates while app is in background), and location service automatically wakes up your application when new location data arrives, and small amount of time is given to application in which u can execute some code, in that time you may start a new call.

    u can read further here:
    search this ''Starting the Significant-Change Location Service'' in this link Location Aware programming guide , and read the paragraph that is written after the code block.

提交回复
热议问题