Created
February 10, 2012 03:32
-
-
Save hanksudo/1786199 to your computer and use it in GitHub Desktop.
Disable UIWebView "bouncing" vertically
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
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