uipinchgesturerecognizer

iOS: Scaling UITextView with pinching?

有些话、适合烂在心里 提交于 2019-11-26 19:46:53
问题 I'm interested in creating UITextView that is expanding dynamically while typing the text, and scaling as the user pinches the screen(Similar behaviour can be found in TinyPost). When you just type (without pinching) the textView expands fine. When you just pinch (without typing) is works fine, but when you pinch and then type, the text inside gets cut. Here is my code: UIPinchGestureRecognizer *pinchGestRecognizer = [[UIPinchGestureRecognizer alloc] initWithTarget:self action:@selector