1

I need to expand the height of cell as per text size , How can I calculate the height of the text in textView .

I have used textview in cell to show contents and using constraints to set width which is not static .

Can anyone guide me how can i calculate height of textview ?

Thanks :)

Devang Goswami
  • 284
  • 3
  • 23

1 Answers1

1

I suggest you some related links about this. You can understand and know how to do it after read that.
Using Auto Layout in UITableView for dynamic cell layouts & variable row heights
http://www.raywenderlich.com/73602/dynamic-table-view-cell-height-auto-layout
UITableViewCell with UITextView height in iOS 7?

Community
  • 1
  • 1
Martin Le
  • 719
  • 7
  • 14