I know that UIViews may transforms have applied to them , some of which change the shape of the underlying layer.
i\'m rotating a CALayer using CABasicAnimation and works fine. The problem is, when I try to rotate the same layer, it returns back to its original position before it will rotate. My expected output i
CGRect rect = biggerImageView.bounds; if([biggerImageView.layer respondsToSelector:@selector(setShadowColor:)])
I have a CALayer, containing few sublayers (CATextLayers). I\'m applying transformations on the CALayer on some usual gestures (zoom, pan).
with [myLayer setName:@\"layer_1\"] I set the name of a layer. But how can I get it from another method? Is there s开发者_如何学Goomething like [self.view.layer.sublayers getLayerByName:@\"layer_1\"]
I have a CALayer that contains few other subLayers (CATextLayer actually) I want to apply some transformation on that layer when user do usual gesture on the ipad but it doesn\'t seem to be working p
I have a window with a main view of type NSView and a subview which is a subclass of NSOpenGLView whose name is CustomOpenGLView.
I couldn\'t find anything on how you can center the \'image\' when you use (maybe you can\'t): [self setBackgroundColor:[UIColor colorWithPatternImage:[UIImage imageNamed:@\"background\"]]];
So I have been playing around with animations lately and I\'ve come across the anchor point. I understand that the anchor point is (0.5, 0.5) by default, which is the middle of the view, and you can c
I use this code to make a screenshot, CGFloat breed = 768; CGFloat hoogte = 975; CGSize afmeting = CGSizeMake(breed, hoogte);