title: How can I set a multiline UILabel inside UITableCell on Swift 3?
body: <p>I am trying to set a multiline <code>UILabel</code>, inside an <code>UITableCell</code>.</p>
  
  <p>That <code>UILabel</code> has a proportional <code>width</code> taking as reference the screen of the device (with a multiplier). The text inside of it can change so I need to fit on the <code>UILabel</code> being able to multiline when the width of the text is higher than the space of the <code>UILabel</code> width.</p>
  
  <p>I tried using:</p>
  
  <pre><code>myLabel.lineBreakMode = .byWordWrapping
  myLabel.numberOfLines = 0
  myLabel.sizeToFit()
  </code></pre>
  
  <p>but it is always displayed on one line truncating the text that overflows the <code>UILabel</code> width.</p>
  
  <p>How can I make my UILabel to be multiline?</p>
  
  <p><strong>EDIT:</strong> I cannot put breaklines to my text because I retrieve my texts from my database.</p>
  
  <p>Thanks in advance!</p>