tags:

views:

673

answers:

2

Hi,

Does any one have an idea how to access the UIScroller class , which is the default subview of UIWebView ?

I want to handle the touches, zooming , panning and scrolling features inside the webview .

Thanks..

A: 

look for UICWebView from MIT...nice sweetie

marcio
+1  A: 

You can find this by going like this:

[webview objectAtIndex:0]

That should be where it is. If not, put this in your code somewhere and run the program to search for the index of the UIScroller, and replace the 0 above with that index:-

for (UIView *subview in [webView subviews]){
 NSLog(@"subviews  of webView : %@", [[subview class] description]);
}
Paul Shapiro