title: Auto layout delayed on label
body: <p>I have a calculator app (just like the apple in-built calculator app) and I used auto-layout. Everything is working fine in portrait mode but when I rotate the screen to landscape the UIButtons resize according to the screen size but the <code>UILabel</code> that show result resizes after a delay, i.e. when I rotate the screen to landscape mode the <code>UITextField</code> also rotate but the size of <code>UITextField</code> is same as the portrait size for 2 seconds and then it resizes correctly.</p>
  
  <p>Is it something related to hugging priority or compression priority?</p>
  
  <p>The content hugging priority
  Horizontal - 251
  Vertical - 251</p>
  
  <p>Content compression resistance priority
  Horizontal - 750
  Vertical - 750</p>
  
  <p>Hope you understand the question
  Thanks in advance.</p>
  
  <p><a href="https://i.stack.imgur.com/xFMum.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xFMum.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/KJfUn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KJfUn.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/coG9Q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/coG9Q.png" alt="enter image description here"></a></p>
  
  <p>see the second screenshot the display (i.e. the zero is not towards the margin but at the middle but after 2 seconds it sizes correctly.)</p>