晕死:原来阴影是自带的啊,我还想方设法实现这效果呢(自),这个是教如何去除阴影呢
转载自:http://code4app.com/ios/Transparent-UIWebViews/4f681d656803fa9950000000
http://hi.baidu.com/492437598/item/2a7b0c10f2cc3be05e53b119
- (void) hideGradientBackground:(UIView*)theView
{
for (UIView * subview in theView.subviews)
{
if ([subview isKindOfClass:[UIImageViewclass]])
subview.hidden = YES;
[selfhideGradientBackground:subview];
}
}
- (void)viewDidLoad{
[selfhideGradientBackground:_webView];
}