问题描述
颜色混合层
打开乐器,然后选择 iOS /图形下的核心动画模板。首先,在Core Animation工具的时间轴上单击以显示底部窗格,然后找到标有 Debug Options的部分。选中颜色混合图层框,该框将在已混合的图层上显示红色叠加,在未混合的绘制图层上显示绿色叠加。
Color Blended LayersOpen Instruments and choose the Core Animation template located under iOS / Graphics. First, click in the Core Animation instrument's timeline to reveal the bottom pane and find the section labeled "Debug Options". Check the "Color Blended Layers" box, which will show a red overlay over layers that were blended and a green overlay over layers drawn without blending.
是核心动画颜色混合图层有用或说有必要吗?
我发现系统用户界面是红色混合的。
而且我的应用程序在某些区域也是红色混合的。
Is Core Animation color blended layers useful or say is it necessary? I found that the system UI is red blended yet. And my app is also red blended in some areas.
我该怎么办?
预先感谢。
推荐答案
是的,有必要修复例如,您的背景为白色,并且在视图中添加了标签,然后将背景色设置为透明色。这将使您的图层混合。
但这不是必须计算的。
如果将标签颜色设置为与视图相同。
的滚动性能将提高很多。
您可以感觉到。
Yeah, It's necessary to fix the blended layers, For example: you background have a white color and you add a label in the view .and set background color clear color. This will make your layer blended.But this is unnecessary to calculate .If you set your label color same as your view. scrolling performance will improve a lot.You can feel it.
这篇关于Core Animation彩色混合图层有用吗?还是说有必要吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!