I am using an iOS app. I need to play video in portrait and landscape modes. I have implemented AVPlayerViewController to play videos. I implemented the video, and then popsulu on the previous screen. Everything works fine, but when the user plays the video in portrait mode and presses the full-screen button, and the player enters full-screen mode, but the video ends and the playerโs screen does not open, and the โFinishโ button does not work. How to fix this problem?
vipulk617
source share