To set the font you could just use CSS and JavaScript. Do the following in the UIWebView page loaded delegate event to set the default font size on any page.
Up vote 0 down vote favorite share g+ share fb share tw.
On Mac OS/X, you can programmatically set the default font and many other values in a WebView by settings its web preferences. Try as I might I am not seeing an equivalent feature for UIWebView on iOS. Can anyone point me to such a thing?
Thanks. Update: The actual thing that I'd really like to change is the caching policy, e.g. How much RAM is allocated for the memory cache versus the disk cache. Ios uiwebview link|improve this question edited Jan 20 at 21:18 asked Jan 20 at 20:55Thor4479 89% accept rate.
To set the font you could just use CSS and JavaScript. Do the following in the UIWebView page loaded delegate event to set the default font size on any page: NSInteger fontSizePercent = 150; NSString *script = NSString stringWithFormat:@"document. GetElementsByTagName('head')0.
InnerHTML += ''", fontSizePercent; webView stringByEvaluatingJavaScriptFromString:script; Only problem is that you may get a flash of the normal font size briefly before your script is run.
To change the cache policy, on some iOS devices is helps to set a user defaults value called WebKitCacheModelPreferenceKey.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.