Skip to content

Instantly share code, notes, and snippets.

@ecpplus
Created November 21, 2011 15:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ecpplus/1382879 to your computer and use it in GitHub Desktop.
Save ecpplus/1382879 to your computer and use it in GitHub Desktop.
UIWebView を最後までスクロールしても背景が見えなようにする
for (id subview in webView.subviews)
if ([[subview class] isSubclassOfClass: [UIScrollView class]])
((UIScrollView *)subview).bounces = NO;
// http://blog.imho.jp/2011/05/uiwebview_24.html
// It works!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment