标签:
//取消右侧,下侧滚动条,去处上下滚动边界的黑色背景 for (UIView *_aView in [myWebView subviews]) { if ([_aView isKindOfClass:[UIScrollView class]]) { [(UIScrollView *)_aView setShowsVerticalScrollIndicator:NO]; //右侧的滚动条 [(UIScrollView *)_aView setShowsHorizontalScrollIndicator:NO]; //下侧的滚动条 for (UIView *_inScrollview in _aView.subviews) { if ([_inScrollview isKindOfClass:[UIImageView class]]) { _inScrollview.hidden = YES; //上下滚动出边界时的黑色的图片 } } } }
禁用UIWebView左右滚动 (2011-09-01 14:5 [(UIScrollView *)[[m_webView subviews] objectAtIndex:0] setBounces:NO];
ios UIWebView隐藏右侧和底部的滚动条,去掉滚动边界的黑色背景
标签:
原文地址:http://blog.csdn.net/alincexiaohao/article/details/42580971