When I add a WebView to my application the font size of web pages is a lot smaller than that in Safari. Is there some reason?
+3
A:
Yes. You need to set the default font to 16px if you want the font size to match that of Safari. You can do this in Interface Builder.
You can also do it programmatically:
[[webView preferences] setDefaultFontSize:16];
Rob Keniger
2010-05-05 03:06:07