質問

Two questions actually.

First : I know iPhone is missing auto-redialing functionality but is there any other way to achieve it by iPhone application, as I can call by my application but facing problem cannot auto redial.

Second : Before calling I want to implement functionality of loud-speaker on a button action.

Is there any way to achieve the above 2 functionalities?

I spent 4-5 hours on googgling about it and the result is only this

I go through to apples doc and found some code hereand also tried this but cant get the right way to implement above functions ...

Any help would be greatly appreciated!

Thanks!!!

役に立ちましたか?

解決

For the Second case it's definitely NO. But for the First case, I have no sure about this, but can be tried:

  1. Subscribe with the CTCallCenter for call states notifications and use some background application type (voip, location or audio) or use some waiting block, that will allow to prevent going to suspended state as long as possible
  2. Open URL using tel://
  3. If the call notification about call failure comes in, try to repeat opening an URL

Once again, just an idea, may not work at all :/

他のヒント

Neither of those actions are possible with the SDK.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top