-
Re: UIWebView acts weird on iOS9
dww84 Jul 27, 2015 1:27 AM (in response to Yogev)I've been expeirencing weird behaviour on iOS9 as well. When trying to load local iOS9 pages, sometimes the pages load, sometimes they just appears as a blank screen. The pageLoaded function gets called in these instances as well.
The same code works fine on iOS 8.
-
Re: UIWebView acts weird on iOS9
leelcitrix Jul 28, 2015 3:43 AM (in response to Yogev)This seems to occur because of some regression in beta4 whereby if you don't specify the width=device-width property in the viewport meta tag pages are rendered in this way.
This all looks way broken on beta4
-
Re: UIWebView acts weird on iOS9
furvy Aug 8, 2015 5:18 AM (in response to Yogev)I posted about some viewport issues here: https://forums.developer.apple.com/thread/13510
The viewport is incorrectly set to display all elements in the document, rather than the specified viewport.
I found I could get things working properly with initial-scale to 1.00001 and have no width set (probably - still testing).
<meta name="viewport" content="initial-scale=1.0001, minimum-scale=1.0001, maximum-scale=1.0001, user-scalable=no"/>
I've logged a bug report.
More details in the post linked to above.