I have found this solution how to fit UILabel height to its content. It works perfect for example if I follow suggested instruction and modify vertical ContentHuggingPriority and vertical ContentCompressionResistancePriority. So then storyboard automatically fit UILabel height to text height. If I make the same for horizontal ContentHuggingPriority and ContentCompressionResistancePriority and edit UILabel width constraint priority, UILabel fits width to text width.
My question is how to set parameters to fit size as for text height and as for text width? Because seems we can only fit or hight or width of UILabel content.