I have a UIViewController which is calling a UIView Class, and I'm using CGAffine Transform to zoom into my UIView class instance using the following code
CGAffineTransform transform = CGAffineTransformMakeScale(recognizer.scale, recognizer.scale);
NSLog(@"Pinch scale: %f", recognizer.scale);
float scale = recognizer.scale;
float SCALE_MIN = 1.0f;
float SCALE_MAX = 3.0f;
. . .
This Basic code, works! (some code has been omitted)
The problem now is regardless of where on the screen I "pinch" the file always zooms from the middle of the file, not at the location as where I am pinching . .
Any suggestions on how I can get it to zoom into the exact location pinched ?