How can I use pinch zoom(UIPinchGestureRecognizer) to change width of a UITextView?

Posted by Ryan Detzel on Stack Overflow See other posts from Stack Overflow or by Ryan Detzel
Published on 2010-04-22T13:50:18Z Indexed on 2010/05/18 22:00 UTC
Read the original article Hit count: 714

Filed under:
|
|
|

I can get the UIPinchGestureRecognizer handler to work with scaling an object but I don't want to scale I want to change the size. For example I have a UITextView and I've attacked a UIPinchGestureRecognizer gesture to it and if the user pinches I want to change the width of the textview to match the pinch. I don't want to scale it so the uitextview is larger(zooming).

© Stack Overflow or respective owner

Related posts about pinch

Related posts about iphone