title: UILabel wrapping incorrectly in a UICollectionView
body: <p>Here I have a <code>UICollectionViewCell</code>, with a <code>UILabel</code>. My labels are character wrapping long words onto a second line. I thought autoshrink would take precedence over line breaks, since "Cappuccino" can easily be autoshrunk onto just 1 line. I even have Word Wrap on.</p>
  
  <p>Why is this label being character wrapped as opposed to autoshrunk with a minimum font size?</p>
  
  <p><strong>EDIT:</strong> I'm aware that <code>numberOfLines</code> needs to be > 0, but programmatically determining <code>numberOfLines</code> based on a label's text and bounding rect doesn't consider autoshrink. I can check if the font size with 1 line != my desired font size, and adjust <code>numberOfLines</code> by guessing, but there's no <code>isTruncated</code> property for me to tell whether the line has broken. So the right question is, how can I programmatically account for autoshrink while determining an appropriate <code>numberOfLines</code>?</p>
  
  <p><a href="https://i.stack.imgur.com/m4NT4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/m4NT4.png" alt="enter image description here"></a></p>