Dynamic expand UITextView on ios 7

后端 未结 9 1410
天命终不由人
天命终不由人 2020-12-29 09:10

I am using this code

CGRect frame = self.mytext.frame;
frame.size.height = self.mytext.contentSize.height;
self.mytext.frame = frame;

But i

9条回答
  •  借酒劲吻你
    2020-12-29 09:32

    Recently I have found this CSGrowingTextView that sizes while you type, maybe it can help: https://github.com/cloverstudio/CSGrowingTextView

提交回复
热议问题