I have stumbled upon a problem that really shouldn't be too hard to figure out. However, after a lot of trial and error I have still not fount a solution. I have a CALayer created with CGRectMake(20, 20, 40, 40). I now want to scale this layer upwards by adding specific values to frame.size.height and frame.size.width, but when I do this, the layer scales downwards. I have tried modifying the anchorPoint, rotating the layer 180 degrees++, but no luck. Would love some input on this.
Thanks.
What I want vs What I get: