I'm porting one of apps from iOS 6.1 to iOS 7. I'm using a layout where there's a UITextView
that has a fix width, but it's height is based on its contentsize. For iOS 6.1 checking the contentsize.height and setting it as the textview's frame height was enough, but it doesn't work on iOS 7.
How can iI then create a UITextView
with a fixed width, but dynamic height based on the text it's showing?
NOTE: I'm creating these views from code, not with Interface Builder.