pillarbox-apple
pillarbox-apple copied to clipboard
Picture in Picture restoration does not work when running as iPadOS app on macOS
Description of the problem
Picture in Picture restoration does not work when an iPadOS app is run on macOS.
The reason is that the PiP lifecycle is not consistent between platforms when restoring via the dedicated button:
- iOS, iPadOS, tvOS: restore, will stop, did stop
- iPadOS on macOS: will stop, restore, did stop
I suspect this is a macOS issue since the lifecycle is documented on tvOS when swapping players. This should be reported to Apple.
In the meantime it might be possible to fix the macOS behavior to make it consistent with iOS, iPadOS and tvOS. If not possible reliably then we should likely do nothing and wait for an official fix. Reliable means that all usual use cases should work on all platforms.
Relevant stack trace or log output
No response
Reproducibility
Always
Steps to reproduce
- Open the demo.
- Play the Fondue example.
- Enable PiP.
- Restore from PiP. PiP closes.
Library version
0.9.0
Operating system
macOS 14.3
Code sample
No response
Is there an existing issue for this?
- [X] I have searched existing issues and found no similar bug report.