When I add a WebView to my application the font size of web pages is a lot smaller than that in Safari. Is th开发者_StackOverflowere some reason?
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];
精彩评论