Codesnipp.it Social Code Sharing

Scott Rapson

Hide the pull gradients on UIWebView

by Scott Rapson on Feb 18, 2011

//under your webView code [self hideGradientBackground:webView]; //elsewhere in the same file. This is called by the above code - (void) hideGradientBackground:(UIView*)theView { for (UIView* subview in theView.subviews) { if ([subview isKindOfClass:[UIImageView class]]) subview.hidden = YES; [self hideGradientBackground:subview]; } }

Can't see the comments? Please login first :)