I'm using Picture in Picture feature in my application using AVPictureInPictureController and it's delegate methods. I fallowed APPLE documents to implement this feature. And I'm glad that its working fine.
But now I want to restrict the user to Play/Pause the content in some error cases. I tried hiding the controls in PIP mode(Picture in Picture mode). But I Failed.
Is there any possible way to restrict the user actions ??
Or any other approach which will resolve my problem ??