Learn Courses My Dashboard

Setting Anchor Points of a Text View

I am trying to make a UITextView in which I can dynamically size the height and width. I have tried to do this by placing a UIButton at each corner with a target for the user to touch and drag. The next thing I try to change is the anchor point to the corner opppsite to the button that is being dragged. Then it adds a pan gesture and as it is dragged it increased the height and width. This works for the width but not the height. Any help is appreciated Thank you!