title: How to limit max width of UILabel?
body: <p>There are a UILabel in the center of the UIView, named nicknameLabel, and will append a gender image after the nicknameLabel.</p>
  
  <p>But when the nicknameLabel has a lot of text, it will beyond the bounds of the UIView.</p>
  
  <p><img src="https://i.stack.imgur.com/Mgyev.png" alt="enter image description here"></p>
  
  <p>So, how to limit max width of UILabel?</p>
  
  <p>BTW: I using the storyboard. Thanks.</p>