Posted By

rabc on 06/04/11


Tagged

scroll UIWebView


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Tintenklecks


Disbable UIWebView scroll (Objective-C)


 / Published in: Objective C
 

URL: http://oiphonemad.blogspot.com/2011/02/uiwebview-disable-scrolling.html

Disbable by code. I don't know if Apple reject this.

  1. UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake(0,0,320,480)];
  2. [[[webView subviews] lastObject] setScrollEnabled:NO];

Report this snippet  

You need to login to post a comment.