title: UILabel how to get label to autosize a name to a maximum width and truncate?
body: <p>So I've got this UILabel that I'd like to have it auto size to a maximum width, stop, then truncate. The reason for the autosize is that there is another label (date) that I'd like to be just to the right of this by a set amount of pixels (10px). </p>
  
  <p>I've attempted to use a frame on the UILabel but that just statically sets the width,but that didn't work and I need this to auto size...</p>
  
  <p>Screenshot below. </p>
  
  <p><img src="https://i.stack.imgur.com/8Myhg.png" alt="enter image description here"></p>