We're currently seeing a new behavior in our iOS app (not fully iPadOS compatible yet, but does support basic pre-iOS 13 multitasking).
We have a screen that has an autoplaying video on it - This video is intentionally not available for PiP mode (we manually disable the button for it)
However, with the new iPadOS, even though we've disabled the direct interaction to enable PiP, when we background the app the video goes into PiP mode automatically.
This was not occuring in iOS 12.
Is this behavior change new to iPadOS? Is this something we can disable manually if it is?
I'm concerned about this because of the note on AVPictureInPicture's documentation:
"Note
Picture in Picture (PiP) is a user feature that Apple intends to always be under user control. Invoke PiP only in response to a user’s explicit request to do so. If an app invokes PiP in a way that is not under the immediate direction of the user, it will be rejected by the App Store."
Since there's no interaction on the user's part, this is unexpected behavior. We have not made any code changes around this feature.