Skip to content

Instantly share code, notes, and snippets.

@hanksudo
Created February 10, 2012 03:32
Show Gist options
  • Save hanksudo/1786199 to your computer and use it in GitHub Desktop.
Save hanksudo/1786199 to your computer and use it in GitHub Desktop.
Disable UIWebView "bouncing" vertically
for (id subview in webView.subviews)
if ([[subview class] isSubclassOfClass: [UIScrollView class]])
((UIScrollView *)subview).bounces = NO;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment