uakihir0 / UIPiPView

This library is a UIView that is capable of Picture-in-Picture (PiP) in iOS.
MIT License
216 stars 32 forks source link

Change PIP window size #5

Closed Andrew5 closed 2 years ago

Andrew5 commented 2 years ago

How to modify the size of PIP window? I use OC language. Can I have an OC version that can modify the size of PIP window? I'm currently studying. Thank you

uakihir0 commented 2 years ago

Hi. It is possible to call this Swift library from Objective-C code. The PiP size corresponds to the size of the UIPiPView. If the UIPiPView is large, iOS will automatically adjust the PiP size. If you pinch in the PiP, the size of the PiP will be reduced.