Disbable UIWebView scroll (Objective-C)


/ Published in: Objective C
Save to your folder(s)

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


Copy this code and paste it in your HTML
  1. UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake(0,0,320,480)];
  2. [[[webView subviews] lastObject] setScrollEnabled:NO];

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.