Reputation: 1
On iPhone or iPad someone know how we can get a CGLayer (not a CALayer) from an UIView?
Regards
Upvotes: 0
Views: 906
Reputation: 135548
Haven't tried this, but I would do it like this:
CGLayer
CGLayerGetContext()
.[view.layer renderInContext:]
.Upvotes: 2