hi Apple review team, I’m developing an app with audio calling functionality, and I’d like to take advantage of Picture-in-Picture (PiP) so that when the user moves the app to the background, the ongoing call can remain minimized on the Home screen. Based on my research, it seems possible to display a view in PiP mode and have it play, and I haven’t found any documentation stating that this is prohibited. Could you please confirm if this is allowed?
Thank you for your response, Kevin. From what I can see, the document appears to focus only on video calls, while my use case involves audio-only communication. Could you kindly confirm whether it’s acceptable to display a Picture-in-Picture view for an audio-only call, even if the document primarily focuses on video calls?
What are you actually trying to do?
While the documentation primarily describes "camera to camera" streaming and the idea of "two people looking at each other through their camera's", nothing in the API actually requires that. As far as the API concerned, it has no idea what content it's actually showing and will happily display whatever you tell it to.
Similarly, many VoIP apps allow their users to send content other than "the image of the person currently talking" (screen captures, shared documents, white boards, etc.). I'm not aware of us ever having had any issue with that sort of thing, particularly when the user has direct control of what's happening and the value to the user is obvious.
However, that doesn't mean that any app can simply use PiP for "whatever it wants". For example, an app shouldn't be using PiP to put up things like:
-
An empty black screen.
-
A random static image.
...as that's simply not what PiP is "for". One thing to understand here is that Apple's concerns around how our APIs are used is not simply about the technical details of how those APIs are used, it's also about the functionality being provided to the user.
__
Kevin Elliott
DTS Engineer, CoreOS/Hardware