title: Set UIView's autoresizing mask programmatically?
body: <p>I have to set autoresizingMask programmatically for <code>UIView</code>.</p>
  
  <p>I don't know how to implement this.</p>
  
  <p><img src="https://i.stack.imgur.com/k4sgR.png" alt="enter image description here"> </p>