Created
April 26, 2011 09:28
-
-
Save Lejdborg/942034 to your computer and use it in GitHub Desktop.
Prevent ugly background and shadows when UIWebView is scrolled too far...
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
myWebView.backgroundColor = [UIColor clearColor]; | |
id scrollview = [myWebView.subviews objectAtIndex:0]; | |
for (UIView *subview in [scrollview subviews]) { | |
if ([subview isKindOfClass:[UIImageView class]]) subview.hidden = YES; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment