Landscape orientation issue
<p>I have my app 98% complete but stumbled across an issue which is stumping me!
Any help would be great.</p>

<p>Basically....I have a 5 tab controller. I have done some remodelling on the first tab view so that moving it from portrait to landscape moves everything around so that it looks great.
The other 4 tabs also move from portrait to landscape and back with ease.</p>

<p>Now....the issue I stumbled across was that if I had say tab 5 in portrait, moved it to landscape and then tapped tab 1, the only bits in tab 1 that orientate to landscape are the bits i fixed in the sizing inspector.
The bits I've re-positioned in code won't landscape.</p>

<p>If I however turn that tab 1 portrait and then back to landscape, it works!</p>

<p>The label fields I've moved with code using .frame and CGRectMake is in the </p>

<pre><code>-(void)willAnimateRotationToInterfaceOrientation: (UIInterfaceOrientation)interfaceOrientation duration: (NSTimeInterval)duration
</code></pre>

<p>method.</p>

<p>.......do I need to put some code in the AppDelegate which the TabController resides in??</p>

<p>It makes sense to me that the TabBarController knows the orientation.</p>

<p>When you tap a tab.....what method gets actioned first before the view loads??</p>

<p>I think I need to catch the orientation then, adjust my label positions and then load the view.......</p>

<p>I would appreciate any thoughts?</p>

<p>Gaz.</p>

<p><strong>EDIT:</strong> It's like what I want to do is be able to change things in tab 1 if the orientation changes in other tabs.can you do that? It seems that the 5 tab views are separate...</p>
