How to hide controls in PiP mode using AVPictureInPictureController in UIKit?

Hey guys! I have a question about PiP(Picture in Picture) mode. Do we have some possible solution in case to hide controls like play/pause, step forward buttons using AVPictureInPictureController in UIKit?

I know that we have option to set requiresLinearPlayback = true. Using it, we just disable our controls.

I found possible solution just setting: pipController.setValue(1, forKey: "requiresLinearPlayback").

It seems to be part of private API, and I'm not sure if it'll pass AppStore review. I'm looking forward to some advice in that case, and how can I handle it.

How to hide controls in PiP mode using AVPictureInPictureController in UIKit?
 
 
Q