【发布时间】:2011-06-02 00:59:59
【问题描述】:
所以我在这里阅读了 SO,我可以使用将 CGLayerRef 编码为 NSValue
NSValue *myCopy = [[NSValue alloc] initWithBytes:&myLayer objCType:@encode(CGLayerRef)];
但是如何从 myCopy 重新创建 CGLayerRef?
谢谢
【问题讨论】:
标签: iphone cocoa quartz-graphics cglayer