I am trying to vertically align the text in the UILabel view of my app. The problem is that I want the text to be vertically aligned to the top and the size of the label to
nice hack... my two cents for swift 4.2/5:
self.optTextMessage.numberOfLines = 0 self.optTitle.lineBreakMode = .byWordWrapping
and add \n.. as suggested..