iOS: AVPlayerViewController enable fullscreen rotation in portrait oriented application
<p>I have a UIViewcontroller, which contains a AVPlayerViewController with AVPlayer.
I want to enable rotation for AVPlayerViewController(when video is on fullscreen) and disable any rotation for UIViewController.
How can I enable rotation only for videos(on fullscreen) in my app?</p>