How to zoom to the center with a scrollview?
问题 We had previously implemented tapping to zoom and now we've decided to use icons instead that will zoom in on the center of whats currently being displayed, and we'd like to reuse the code we had for our tap to zoom since we want the same effect, but now we don't know what to pass as the centerpoint. We're using the (CGRect)zoomRectForScale:(float)scale withCenter:(CGPoint)center method which used to accept a center cgpoint from the gesture recognizer that we used for tap zooming; however,