I assume you are using iOS6 and storyboards, try to disable auto layout in your storyboard and test the animation again.
If it works, and want to keep auto layout feature, you will need to adjust your constraints !
By the way, the default anchorPoint
is already (0.5, 0.5)
, the line is not necessary (unless you modify the anchorPoint
elsewhere):
[image.layer setAnchorPoint:CGPointMake(0.5,0.5)];