views:

43

answers:

1

i have a web view and i want to increase size of text in it when i press button ...

+1  A: 

Try this:

[webView stringByEvaluatingJavaScriptFromString:@"document.body.style.zoom = '1.5';"]

This will zoom in all contents of the UIWebView by a factor 1.5.

Douwe Maan
thanks its working
lak in iphone