@Ladislav: , :)
UIWebView? - , , , . , , , .
:
1. backgroundColor -, clearColor! ! .
myWebView.backgroundColor = [UIColor clearColor];
this line will only make the "overscroll" background easier, but to completely remove it (make it transparent / white), we need to hide all the images found in the subspecies of our myWebView:
for (UIView* subView in [self.myWebView subviews])
{
if ([subView isKindOfClass:[UIScrollView class]]) {
for (UIView* shadowView in [subView subviews])
{
if ([shadowView isKindOfClass:[UIImageView class]]) {
[shadowView setHidden:YES];
}
}
}
}
Thanks to everyone, I wish you a great weekend.
source
share