Question: how to enable PIP for any view in SwiftUI like this ?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/iOSProgramming

Our great sponsors
  • Scout APM - Truly a developer’s best friend
  • SonarLint - Clean code begins in your IDE with SonarLint
  • Zigi - Close all those tabs. Zigi will handle your updates.
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • PIPKit

    Picture in Picture for iOS

    iirc the actual pip api gets either a url or a stream not views. Do this is using something else like this pipkin but still not sure how this one is persistent.

  • UIPiPView

    This library is a UIView that is capable of Picture-in-Picture (PiP) in iOS.

    You could give UIPiPView a try, but I am not sure if Apple would approve such things in the App Store

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

  • swiftui-pipify

    A SwiftUI component for launching custom picture-in-picture experiences

    The library Pipify has a view modifier that can be applied to any SwiftUI view to show it in the system PiP through some magic/wizardry. The documentation in the readme is explains in some detail, no private APIs afaik

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts