WKWebView elementFullscreenEnabled on iPad. Full screen video doesn't properly resize on orientation change.

I set the elementFullscreenEnabled property on WKPreferences to YES. On iPad this enables web videos to be played in full screen.

However when I play the video and rotate the device, the layout becomes completely broken on orientation change. Anyone know of a workaround?

I can key value observe the web view's full screen state property but there is no obvious way to get ahold of the UI being used to play the video?

I filed FB12009926

WKWebView elementFullscreenEnabled on iPad. Full screen video doesn't properly resize on orientation change.
 
 
Q