Size mismatch during rotation ipad / iphone webview for youtube

I am working on an application for playing videos on YouTube, where I need to play a video using its UIWebView functionality when I rotate devices from portrait to landscape mode. But when I click the "Zoom" button (the "Zoom" option means UIWebView ) and tries to rotate the screen from portrait to landscape mode, showing a white "Blank" screen in the lower right corner. In the case of a landscape, a white blank screen is displayed at the bottom of the portrait. Help me.

+4
source share
1 answer

I assume this is doing something with the background color of webviews. In any case, you can provide some screenshots to make them more understandable.

0
source

Source: https://habr.com/ru/post/1438064/


All Articles