Top "Calayer" questions

CALayer is a Core Animation class in the Quartz Core framework.

-[CALayer retain]: message sent to deallocated instance

I'm developing an iphone app and when I turn on my NSZombieEnabled I have regularly a crash on error : *** -[…

iphone calayer nsautoreleasepool nszombie
-[CALayer release]: message sent to deallocated instance

I'm having a problem with some code in the loadView: method of one of my view controllers. Essentially I have …

iphone calayer dealloc nszombie
AVCaptureVideoPreviewLayer landscape orientation

How can I get 'AVCaptureVideoPreviewLayer' to display properly in landscape orientation? It works fine in portrait but doesn't rotate, and …

ios avfoundation calayer landscape
How to create reverse masks on CALayers

I'll make this as simple as possible. How do I create reverse masks on CALayers in iOS? I have a …

ios image xamarin.ios calayer mask
Anti-alias diagonal edges of CALayer

When I set the transform property of my CALayer with a CATransform3DRotate, the layer is properly rotated. However, the …

iphone ios core-animation calayer antialiasing
Get UIImage from the CALayer attached to AVPlayer (extract frame from video playing)

I play a video with AVPlayer. It works ok. Now I want to get a UIImage from the video playing (…

uiimage calayer avplayer
Cannot get current position of CALayer during animation

I am trying to achieve an animation that when you hold down a button it animates a block down, and …

ios calayer cgrect caanimation cakeyframeanimation
UIButton with GradientLayer obscures image and darkens gradient

I have an UIButton here where I'd like to have a gradient as the background below the image (symbol with …

ios uibutton calayer cagradientlayer
How to mask and add shadow to a UIView

I'm making a custom view that i want to mask and to add shadow to it. the masking: let p = …

ios swift uiview calayer cashapelayer
CABasicAnimation rotate returns to original position

i'm rotating a CALayer using CABasicAnimation and works fine. The problem is, when I try to rotate the same layer, …

ios calayer rotation cabasicanimation