里面IB,在查看效果检查,有设置核心动画层的选项。 如果我将它设置它有什么作用?
它是相当于setWantsLayer:YES
?
如果是这样那么按照苹果文档 setWantsLayer
之前或之后调用setLayer:
The order that setWantsLayer: and setLayer: are called is important, it makes the distinction between a layer-backed view and a layer-hosting view.
如果我从IB设置的CALayer,那将是哪些订单?