I have an instance of AVPlayerViewController
playing a live broadcast content that I am adding as a subview to my viewController's view.
After switching the AVPlayerViewController
to fullscreen mode and tapping Done button to exit fullscreen the player stops playing.
Is there any way to keep the player playing after done button action?
This is not possible with AVPlayerViewController
. But when using fullscreen button the player keeps playing. For my case I ended up by creating a custom player controller with an AVPlayer
instance.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With