shouldAutorotateToInterfaceOrientation not being called iphone
<p>So i'm trying to make some view rotate but the method is not even called and i'm so frustrated. Here is the method: </p>

<pre><code>- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return YES;
}
</code></pre>

<p>I also tried:</p>

<pre><code>- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return ((interfaceOrientation == UIInterfaceOrientationPortrait) ||
            (interfaceOrientation == UIInterfaceOrientationLandscapeLeft) || (interfaceOrientation == UIInterfaceOrientationLandscapeRight));
}
</code></pre>

<p>My info.plist looks like this:</p>

<p><img src="http://i.stack.imgur.com/t2EXA.png" alt="enter image description here"></p>

<p>What i'm i missing ? I've looked at all the answers i found here in SO but still the problem remains.</p>
