Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法覆盖视图渲染方法(drawRect:也许?)以使其自身及其子视图以灰度呈现?
现在我通过使用核心图形从 uiview 生成灰度 uiimage 来伪造它,并将其放在 uiview 之上。但我喜欢让视图仍然具有动画等功能,但以灰度显示?