I'm developing a VoIP app. Currently, I'm using CallKit to control call acceptance and end-of-call processing. When a call comes in while using the phone, CallKit appears as a banner at the top of the screen. When I click Accept on the banner, the app opens and the call is received. (For OEMs, clicking the Accept button in the banner will accept the call as is.) Is there a way to prevent the app from coming to the foreground when accepting a call with a banner-type call kit in a VoIP app? No, not currently. When I click Accept on the banner, the app opens and the call is received. Yes. This has been how CallKit worked since the framework was introduced in iOS 10, where it inherited the existing iOS behavior. The call banner was introduced in iOS 14, but the behavior of CallKit app was not changed. I believe that decision was made to avoid disrupting existing apps since past experience had shown VoIP developers to be resistant to nearly any change. I'll also note that CallKit opening into the calling
Topic:
App & System Services
SubTopic:
General
Tags: