WKWebview doesn't return the correct orientation when inside a UISplitViewController

Originator:eugene.kwong
Number:rdar://38233756 Date Originated:March 7 2018
Status:Open Resolved:
Product:iOS + SDK Product Version:iOS 11
Classification:WebKit Reproducible:Always
 
Cannot depend on the orientation when using CSS media queries in a WKWebView when it is inside a UISplitViewController with preferredDisplayMode set to AllVisible. It will always assume portrait orientation no matter how the device is rotated.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!