As far as I know, laying out paragraphs can be done with:
a) UITextView
- Resizing the textview to fit the content in didlayoutsubviews
b) UILabel
- Setting the Lines to 0, using sizetofit
- Example here: Multiple lines of text in UILabel
However, I am unable to get either of these to work in IOS7 (having previously used them in ios6.x). There must be a definitive and clear way to just lay out a paragraph, its such a seemingly simple task.To be specific, this is just a paragraph of text that is:
- non-editable
- variable length
- Works consistently whether using storyboards or code only
So please, what is the way to do this?