How Pipify works (Implementation Concept)
mainPipify works by creating a video stream from a SwiftUI view. The library takes screenshots of the view whenever it updates and feeds them through Apple's AVKit functions to create a continuous video stream. This stream is then used to launch the standard system Picture-in-Picture mode.
From the user's perspective, the view appears in a floating window above the application, which can be minimized or closed using standard system controls.