shouldAutorotate() function in Xcode 8 beta 4 : <p>I updated Xcode 8 beta 3 to Xcode 8 beta 4 and I am actually correcting some bugs due to swift changement.</p>

<p>Function :</p>

<pre><code>    override func shouldAutorotate() -&gt; Bool {
    return false
}
</code></pre>

<p>Print an error and Xcode told me that this function is not override. It's mean that the function does not exist anymore.</p>

<pre><code>override var shouldAutorotate
</code></pre>

<p>This var has just get properties so I can't change the value by this way.</p>

<p>So how can I work with autorotate now ?</p>

<p>Thanks !</p>
