I want to take a photo with the device\'s camera, overlay a CALayer on top of it, and export the photo at the native resolut开发者_如何学Cion of the device\'s camera.
I\'m rotating a CALayer on the X axis开发者_运维技巧, but even if it\'s displaced on the Z axis, it uses the Z = 0 as axis for the rotation?
I keep getting bad instruction or bad exception so I enabled NSZombieEnabled and the other vars needed, and I have no idea how to analyze the results.This is what was logged:
I\'m noticing that some of the things that I do 开发者_开发百科with images in my app, I could be doing with CALayer properties instead (i.e. borders, shadows, gradients, and so on). So I\'m wondering,
How different is the behavior of CALayer\'s valueForKey from that of any other ordinary NSObject\'s? I have a custom layer which inherits from CALayer, and that has a property named \'angle\',
I have a custom view with a layerClass override like: + (Class) layerClass { return [CAShapeLayer class];
I\'ve got a CAReplicatorLayer replicating its sublayer as per expected, but there\'s a built-in duration to the animation that I want to turn off. In other words I want to see the instantaneous result
I wish to remove a CALayer from its superlayer without animating. What happens here is the layer animates to a position, works great, when however the animation stopped, this code is executed, which r
I have a CALayer that implements drawInContext: and draws a simple circle, like so: - (void)drawInContext:(CGContextRef)ctx
I have been running into some issues with animating multiple CALayers at the same time, and was hoping someone could point me in the right direction.