CaiWanFeng / PiP

The best way to customize picture-in-picture for iOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any way to listen for play and pause within PiP?

watadarkstar opened this issue · comments

Hi @CaiWanFeng I came across your repository from this stackoverflow thread:
https://stackoverflow.com/a/72824490/559891

I was wondering if you knew of a way to listen for play and pause events when in PiP mode in Objective-C?

For example when the pause button is clicked I want to be able to know that it has been clicked:

j52eX

commented

set play speed to 0,and track the current play time