转自:http://www.tiboo.cn/dianzijie/b/
This property provides a hint to the drawing system as to how it should treat the view. If set to YES, the drawing system treats the view as fully opaque, which allows the drawing system to optimize some drawing operations and improve performance. If set to NO, the drawing system composites the view normally with other content. The default value of this property is YES.
小属性大作用
2、如何将webview背景色设成透明的呢?
然后再将webview.backgroundColor 设为你想要的颜色
第一步很重要,否则设背景色不起作用
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/211511.html原文链接:https://javaforall.net
