Closed flipsticks closed 4 years ago
By Apples implementation of PiP do you mean split view?
I think he means the Safari/iTunes PiP mode (https://support.apple.com/en-us/HT206997) and yes, this would be awesome! 😊
Unfortunately PiP apis are not public yet. Though there's a way to use it, I think it is only meant for video playback from the web/local file.
In his blog post about the hack, he mentioned that any view controller can be displayed in the pip window. So maybe it's possible :)
- ANY view controller — not just video — can be displayed but the play/pause button cannot be removed or hidden (at least not via any accessible method).
Interesting, will give a try :)
@amitv87 any news on this? :)
I did try it but the end result was very flaky. Resizing the source window resulted in corrupt aspect ratio.
Also I feel that Apple's implementation has one feature which is missing in my implementation, i.e. the preview window remains pinned even when switching to full screen app / desktop. I'm trying to get this one to work
@amitv87 any news on this? :) https://github.com/amitv87/PiP/tree/nativePiP That's what I could do.
Closing this :)
Hey amitv87,
Are there any plans to support Apples implementation of PiP? (Where the window float across multiple desktops/fullscreen apps, pinned to the screen edge)