Created
April 6, 2012 01:04
-
-
Save justin/2315639 to your computer and use it in GitHub Desktop.
Remove UIWebView Shadows
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 (UIView *view in self.webView.subviews) | |
{ | |
if ([view isKindOfClass:[UIScrollView class]] == YES) | |
{ | |
for (UIView *innerSubview in [view subviews]) | |
{ | |
if ([innerSubview isKindOfClass:[UIImageView class]]) | |
{ | |
innerSubview.hidden = YES; | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment