14

I am trying to achieve same results that can be seen on 29:52 second of Enhancing VoIP Apps with CallKit - WWDC 2016. In that video it shows that after answering call the buttons are moved and changed by animation, and the screen stays in native in-call UI.

I built the Speakerbox and tried the "Simulate Incoming Call" function, but as soon as the call is answered by answer call button (the same action that is shown on video), the native call screen disappears and the application screen is shown with active calls shown in the list (which is different from what is shown in WWDC video):

enter image description here

Though there is a native call UI screen for very short time during transition from Incoming Call native UI to the app, but I can't find how to force it to stay on that screen. Debugging the Speakerbox app there is no any delegate method called until all native screens are disappeared and the app is already opened.

I have tested receiving incoming call when the screen is locked, in that case the native UI is shown:

enter image description here

I would like to achieve same result on non locked phone.

Ruben
  • 189
  • 7

2 Answers2

0

Simply you can't keep native UI after accept incoming call, at least in iOS 10, maybe in iOS 11 Apple give a way to keep native UI.

AntonioM
  • 585
  • 8
  • 14
  • Same as you I also was not able to achieve that. But WWDC video of iOS 10 demonstrates that you can, and I couldn't find any document telling the opposite. Have you a link to official document where it tell you can not get native call UI after accepting the call? – Ruben Mar 27 '17 at 08:57
  • There isn't documentation where Apple say it. Neither where tell how to keep native ui. – AntonioM Mar 27 '17 at 10:17
0

If you lock the phone and then receive an incoming call, you will have similar experience to what you saw on WWDC. There is no a way to change this behavior in iOS 10.

Aliaksandr Bialiauski
  • 1,382
  • 18
  • 22