title: Word Wrap not working for UILabel
body: <p>Using autolayout I can't override my label in code.  I've set the labels attributes in IB: Lines = 0, LineBreaks = Word Wrap, but I have my height set to a single line because due to what cell is selected determines what text goes in the label.  So sometimes the label will only have one line.  </p>
  
  <p>In my viewDidLoad:</p>
  
  <pre><code>myLabel.text = @”blah, blah, blah….”;
  [myLabel setLineBreakMode:NSLineBreakByWordWrapping];
  myLabel.numberOfLines  = 0; //have tried 1 but didn’t help
  [myLabel sizeToFit];
  </code></pre>
  
  <p>This works on another project, but I wasn’t using AutoLayout.  AutoLayout seems to override these settings.<br>
  I’ve even added </p>
  
  <pre><code>[myLabel setFrame:CGRectMake(20, 135, 280, 80); 
  </code></pre>
  
  <p>but it doesn’t help.</p>