Hi all, in my app im making use of UIWebView to load html page.When i change orientation from potrait to landscape mode content font changes it increases.If i tap on any of link the new request loaded in lanscape mode content font wont change.How to fix this.
A:
Does the font size change because of automatic zooming? That's what happens in web browser, at least. Maybe you got same "feature" by default in UIWebView, too?
JOM
2009-12-17 07:59:30
No there is no automatic zooming.I hvnt set any feature for UIWebView by default.
shilpa
2009-12-23 07:46:25
A:
You've probably already found the answer, but for posterity, see: http://stackoverflow.com/questions/2710764/preserve-html-font-size-when-iphone-orientation-changes-from-portrait-to-landscap
In a nutshell, it involves setting css style:
-webkit-text-size-adjust:none
Bruce Geerdes
2010-05-18 13:06:30