It reproduces in Speakerbox on both devices. I built MakingAndReceivingVoIPCallsWithCallKit.zip unmodified except setting our development team and raising the deployment target to 16.0 (Xcode rejects 13.0 for the Intents extension), then used its "Incoming Call" button (5-second delay) with Speakerbox in front:
iPhone 18 Pro Max, iOS 27.3 (24C5049f): the incoming call appears at the top with Decline and Answer over Speakerbox (runningForeground).
iPad Pro 11-inch (4th generation), iPadOS 27.3: a banner with "Speakerbox Audio", the caller, and Decline and Answer appears over Speakerbox.
An iPhone sysdiagnose right after a Speakerbox ring at 18:18:52 shows:
18:18:57.526 callservicesd Received add incoming call request from call source <CXXPCCallSource ... identifier=com.example.apple-samplecode.callkit-speakerbox-sample isConnected=1 ... isPermittedToUsePublicAPI=1 isPermittedToUsePrivateAPI=0>
18:18:57.631 InCallService shouldPresentDismissedForCall: callStatus:4, isExpanseMessages:0, isConversation:0, isOutgoing:0, isAudioCall:1, wantsStagingArea:0 avLessWantsDismissed:0 callProviderWantsDismissed:NO isOutgoingIpadFTA:0 tappedPill:NO screeningWantsDismissed:NO
18:18:57.631 InCallService performPresentationWithConfiguration: preferredPresentationMode = dismissed; preferredBannerHeight = 104.00; supportsSystemAperture = YES;
18:18:57.631 InCallService Requested a new scene with presentationMode=dismissed userInitiated=0
18:18:57.726 InCallService HUDActivityManager - updateSystemApertureElement type:incomingThirdPartyVoIPCallOn iPhone, InCallService dismisses the in-call scene as designed, but the Dynamic Island still shows the incoming call with Decline and Answer over the foreground app. The earlier preferredPresentationMode = banner line came from the iPad, which has no Dynamic Island.
To clarify, we do not skip LiveCommunicationKit in the foreground. We report every incoming call with reportNewIncomingConversation when it starts ringing, including in front, and run all call audio in the audio session activated by conversationManager(_:didActivate:). I meant reporting at ring time instead of answer time. Earlier, only while in front (PushKit's mustReport was false), we tried ringing in our own UI and reporting at Answer, then joining about 20 ms later. On iPad that sometimes switched to the full-screen call UI, so we returned to reporting at ring time.
I filed FB25698574 with the sysdiagnose and screenshots.
Is there a supported way for a foreground app with its own ringing UI to keep the system's incoming-call UI (the Dynamic Island element on iPhone, the banner on iPad) from showing, or is this expected behavior on iOS 27?
Topic:
App & System Services
SubTopic:
Notifications
Tags: