Created
August 16, 2012 06:46
-
-
Save ppworks/3367440 to your computer and use it in GitHub Desktop.
UIWebViewをバウンスさせない
This file contains hidden or 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
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