views:

281

answers:

1

I am currently investigating the potential for programatically adjusting the zoom level and on which area of the page the zoom is panned to. Is this possible either by manipulating the UIWebView or by firing custom javascript calls to the embedded browser?

+1  A: 

I've looked around a lot for the same thing, and I haven't had a lot of luck. UIWebView is not descended from UIScrollView, so that type of manipulation is out. By the way, you probably don't mean to be asking about MobileSafari, since as a developer you don't have access to that programmatically. MobileSafari uses a UIWebView, not the other way around.

Good luck on figuring this one out! If you do, be sure to post the answer here. :)

Jonathan Sterling
Charybdis - Sorry, should have been more clear. This is a for a native app that will be including an UIWebView object, however I am led to believe that I can fire off custom javascript calls into the pages I have loaded into the UIWebView, so wondered if it was possible via the js route.
GrahamB