UIWebView + Resizable iPhone Simulator = Incorrect Viewport Width

Originator:jaredsinclair.rn
Number:rdar://17564857 Date Originated:July 4, 2014
Status:Open Resolved:
Product:Xcode 6 and iOS 8 Product Version:Beta 2
Classification:UI/Usability Reproducible:Always
 
UIWebView, when used in conjuction with the Resizable iPhone Simulator, uses an improper viewport width.
 
It uses the width returned from [UIScreen mainScreen].bounds.size.width, which is vastly different from the actual width of the application window.
 
Try running this sample app in the Resizable iPhone simulator to see what I mean.
 
https://www.dropbox.com/sh/pmgr6gu638l77ij/AAAZcJSUmUGA7iRav0YS5gPsa
 
Marco.org is a responsize site, but it is rendering improperly in this setup.

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!