I’m developing an iOS6 app for iPad. The user can add a textfield, edit it, move and rotate it. I would like that when the user pinches the field, it gets bigger. I’ve tried it, but the text gets pixeled, because the font size doesn’t change. How can I detect the actual font size so as to increase it? This is my actual code:
- (void)pinchDetected:(UIPinchGestureRecognizer*) pinchRecognizer {
CGFloat scale = pinchRecognizer.scale;
self.transform = CGAffineTransformScale(self.transform, scale, scale);
pinchRecognizer.scale = 1.0;
}
Thanks for your help!
Why not try this?