title: How to disable autolayout animations for a single view in iOS, Swift?
body: <p>I need to disable animations for a specific view that gets animated because of its autolayout properties. </p>
  
  <p><strong>I cannot use this:</strong></p>
  
  <pre><code>UIView.setAnimationsEnabled = false 
  </code></pre>
  
  <p>Because it breaks the animations of other views.</p>
  
  <p><strong>This didn't work either:</strong></p>
  
  <pre><code> override func layoutSubviews() {
          UIView.performWithoutAnimation {
              super.layoutSubviews()
          }
      }
  </code></pre>
  
  <p>Any ideas?</p>