I know there is a samilar question Only ONE VIEW landscape mode, and I've readed it carefully before I ask this one.
I have a WKWebview named as webview in my app, and the webview have a subview named as player. I used webview to load web page, and player to play a video.
By default the player is compressed at the right-bottom of the webview, and I want to expand player to landscape when I click the expand button for the player.
As the webview and player are defind in WebViewController.swift, that's to say in the same controller. How can I just make the player subview to landscape?