I have a view in UIScrollView in which the user can zoom into.
The view has the same size as the UIScrollView frame. However, the subviews of that view are bigger and ce
Yes I believe you can change the anchorPoint
for a view's layer. like so -
[self.yourView.layer setAnchorPoint:CGPointMake(0.5, 0)];
The coordinates of the anchor point are aptly defined in this diagram -
If you want the animation to anchor from left-center then set the anchorPoint to (0.0, 0.5)
i.e. point B in the figure.