I got an app with some text data.
From TableView user choose one cell and then see UIViewController with relative text data. But information text could be from 1 line to N. How can create such UILabel, which will change size depending on size of text?
Another solution would be to do this inside the code, with the sizeWithFont method.
you can find more info here: iOS: UILabel dynamic height using sizeWithFont:constrainedToSize:lineBreakMode: not working
If it’s the height that varies, you could set a maximum label size, with your standard label width and 9999 height, and then check what the suggested size would be for your text, using the font of your label