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.
在 iPhone 或 iPad 上,有人知道我们如何从 UIView 中获取 CGLayer(不是 CALayer)吗?
问候
没有尝试过,但我会这样做:
CGLayer
CGLayerGetContext()
[view.layer renderInContext:]