Enable native PiP in iOS YouTube app.
Enable native Picture-in-Picture feature for videos in YouTube app.
Activate PiP by playing the video and dismissing the app, or tapping PiP button in video tab bar or control overlay.
Use iOS 15+ SDK and latest THEOS.