Clean autorotation transitions in a paging UIScrollView
问题 I have a paging UIScrollView in which the user pages horizontally through images, like Apple's Photos.app. That works, but now I'm trying to add rotation support. I've got the view rotating OK and have managed to set the contentSize, bounds, and subviews' frames properly to adapt to the different orientations. So before and after the rotation, everything is OK. However, the transitions themselves are awkward. The first image rotates perfectly, as if the axis of rotation is in the dead center