Try this for setting the initial zoom level.
Up vote 0 down vote favorite share g+ share fb share tw.
What I want to do is set the initial zoom scale and in some cases, content offset, but that is less important for an external website. But after the app initially sets the zoom and offset, the user should be able to change them, and the app should not interfere. Some related information is available here, here, and here.
But as far as I can tell, none of does what I want. The meta setting approach looks promising -- but how would I set it when I don't control the html content that will be loaded? Iphone ios uiwebview scroll zoom link|improve this question asked Nov 6 '11 at 15:25William Jockusch2,31522161 71% accept rate.
Try this for setting the initial zoom level - webView stringByEvaluatingJavaScriptFromString:@"document. Body.style. Zoom = 5.0;"; Also don't forget to set scalesPageToFit to NO and you're done.
If you set this to YES, the webpage is scaled to fit and the user can zoom in and zoom out. If NO, user zooming is disabled. The default value is NO.
I put this into webViewDidFinishLoad, and it works great, thanks! But I do want to allow the user to change my initial zoom. I do NOT want the page to be scaled to fit which it isn't -- but user zooming is disable.
– William Jockusch Nov 6 '11 at 18:04 William, did you solved this? – Tony Feb 13 at 15:11.
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.