有谁知道是否可以删除放置在 UIWebView 窗口上的阴影?
Does anyone know if its possible to remove the shadow that is placed on the UIWebView window?
示例:http://uploadingit.com/files/1173105_olub5/shadow.png
如果可以的话,你是怎么做到的?
If its possible how do you do it?
谢谢
这是Nikolai Krill"解决方案的更清洁替代方案.这只会隐藏 UIWebView 中的 UIImageViews 而不是 UIWebBrowserView.
This is a cleaner alternative to "Nikolai Krill" solution. This only hides UIImageViews within the UIWebView and not the UIWebBrowserView.
for (UIView *view in [[[webView subviews] objectAtIndex:0] subviews]) {
if ([view isKindOfClass:[UIImageView class]]) view.hidden = YES;
}
谢谢詹姆斯
这篇关于删除 UIWebView 阴影?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!