Skip to content

Instantly share code, notes, and snippets.

@ppworks
Created August 16, 2012 06:46
Show Gist options
  • Save ppworks/3367440 to your computer and use it in GitHub Desktop.
Save ppworks/3367440 to your computer and use it in GitHub Desktop.
UIWebViewをバウンスさせない
id subview = [[_webView subviews] objectAtIndex:0];
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