简体   繁体   中英

UIWebView acts weird on iOS9

I have a UIWebView that displays an HTML page that it receives from the server as NSData.

Starting with iOS 9 the UIWebView sometimes shows the HTML as usual and sometimes it renders the HTML as a very small page.

Is this a known issue on iOS9?

You need to add width=device-width to your viewport meta tag on beta4 and later it seems.

This seems like quite a regression from iOS9 beta 3.

Some css attributes doesn't work in iOS9 but works in iOS8 for my case, i removed css attribute:

direction:rtl

then the existing layout worked fine

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM