title: UILabel autoLayout not working fine
body: <p>I set a <code>UIlabel</code> in <code>UITableViewCell</code> I want to make the height of <code>UITableViewCell</code> dynamically ,so I add some constraints with <code>UILabel</code> ,When enter the <code>UIViewController</code>,the label and the height of <code>UITableViewCell</code> is not correct,but if I scroll the <code>UITableViewCell</code> out of screen and  scroll it back to screen ,then it work correct,It's Strange。</p>
  
  <p>This is my constraints in storyboard</p>
  
  <p><img src="https://i.stack.imgur.com/AexxZ.jpg" alt="enter image description here"></p>
  
  <p>UILabel in TableViewCell when enter the UIViewController</p>
  
  <p><img src="https://i.stack.imgur.com/ITE7V.jpg" alt="enter image description here"></p>
  
  <p>It shoule be</p>
  
  <p><img src="https://i.stack.imgur.com/cqrAf.jpg" alt="enter image description here"></p>
  
  <p>I have try to add the code (override UILabel)</p>
  
  <pre><code>-(void)layoutSubviews{
      self.preferredMaxLayoutWidth = self.frame.size.width;
      [super layoutSubviews];
  }
  </code></pre>
  
  <p>and set the content hugging priority with 1000</p>