Created
November 21, 2011 15:02
-
-
Save ecpplus/1382879 to your computer and use it in GitHub Desktop.
UIWebView を最後までスクロールしても背景が見えなようにする
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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