Skip to content

Instantly share code, notes, and snippets.

@syxc
Created May 17, 2013 02:45
Show Gist options
  • Select an option

  • Save syxc/5596586 to your computer and use it in GitHub Desktop.

Select an option

Save syxc/5596586 to your computer and use it in GitHub Desktop.
How to remove grey shadow on the top UIWebView when overscroll?
for (id subview in webView.subviews) {
if ([[subview class] isSubclassOfClass:[UIScrollView class]]) {
for (UIView *scrollSubview in [subview subviews]) {
if ([[scrollSubview class] isSubclassOfClass:[UIImageView class]]) {
scrollSubview.hidden = YES;
}
}
}
}
@syxc
Copy link
Author

syxc commented May 17, 2013

http://stackoverflow.com/a/9244529/1242183
This solution will not be rejected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment