UIScrollView *scroller = [self.WebView.subviews objectAtIndex:0];
//去掉webview 上下只阴影部分
self.WebView .opaque = NO;
for (UIView *subView in [scroller subviews])
{
if ([[[subView class] description] isEqualToString:@"UIImageView"])
subView.hidden = YES;
}
self.WebView .backgroundColor=[UIColor colorWithRed:225./255. green:224./255. blue:222./255. alpha:1.0f];;
//去掉webview 上下只阴影部分
self.WebView .opaque = NO;
for (UIView *subView in [scroller subviews])
{
if ([[[subView class] description] isEqualToString:@"UIImageView"])
subView.hidden = YES;
}
self.WebView .backgroundColor=[UIColor colorWithRed:225./255. green:224./255. blue:222./255. alpha:1.0f];;