Last active
December 20, 2015 06:38
-
-
Save monjer/6086716 to your computer and use it in GitHub Desktop.
UIWebView+RemoveShadow
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
| // | |
| // UIWebView+RemoveShadow.h | |
| // Created by manjun.han on 06/06/2013. | |
| / | |
| /** | |
| * IOS6.1-及以下 | |
| */ | |
| @interface UIWebView (RemoveShadow) | |
| - (void)removeAllShadow ; | |
| @end |
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
| // | |
| // UIWebView+RemoveShadow.h | |
| // Created by manjun.han on 06/06/2013. | |
| // | |
| #import "UIWebView+RemoveShadow.h" | |
| @implementation UIWebView (RemoveShadow) | |
| - (void)removeAllShadow ; | |
| { | |
| UIScrollView *scrollView = self.scrollView; | |
| for (int i = 0; i < scrollView.subviews.count ; i++) { | |
| UIView *view = [scrollView.subviews objectAtIndex:i]; | |
| if ([view isKindOfClass:[UIImageView class]]) { | |
| view.hidden = YES ; | |
| } | |
| } | |
| } | |
| @end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment