Iphone: change orientation manually
<p>How to call shouldAutorotateToInterfaceOrientation manually?</p>

<p>Content of this function has on/off flag, so when I change this flag, I need to rotate screen.</p>

<p>Example:</p>

<ol>
<li>Disable flag</li>
<li>Tilt phone in horizontal position. shouldAutorotateToInterfaceOrientation called and returns false</li>
<li>Enable flag: shouldAutorotateToInterfaceOrientation must be called. How to call it?</li>
</ol>
