title: iOS swift multi-line UILabel in a view
body: <p>I would like to accomplish what is seen in the image below in Interface Builder.  Basically two labels - one multi-line and one note - inside a view and the view centered horizontally on the page.  So to be clear, I cannot put a width constraint on the view or the centering will not work correctly. <img src="https://i.stack.imgur.com/63sQU.png" alt="Exmaple"></p>
  
  <p>I can get the label with the actual hours to multi-line when it is not in a view but when I place it in a view and set up the Top, Left and Right constraints - the label reverts back to a single line.  </p>
  
  <p>below are the constraints and attributes for the label in the view and a picture of what IB does when i update the frames.  Any suggestions would be greatly appreciated.</p>
  
  <p><img src="https://i.stack.imgur.com/Ys538.png" alt="Attributes">
  <img src="https://i.stack.imgur.com/7eX0X.png" alt="Hours Value Constraints"></p>
  
  <p>There are the constraints for the label with just the work Hours in it:
  <img src="https://i.stack.imgur.com/fFC81.png" alt="Hours Label Constraints"></p>
  
  <p>This is what it looks like after I update the frames</p>
  
  <p><img src="https://i.stack.imgur.com/271gJ.png" alt="After update frames"></p>