Strange behaviour with NavigationBar
<p>I'm having some really strange behavior with the NavigationBar and I'm hoping someone has seen something like this before.</p>

<p><img src="http://i.stack.imgur.com/zZFe0.png" alt="screenshot of the situation"></p>

<p>I have a UIView that is being pushed with </p>

<pre><code>[self.navigationController pushViewController:cardView animated:NO];
</code></pre>

<p>and immediately when the view is pushed I get the result that can be seen in the first half of the picture above.</p>

<p>When I click a button that pushes a modalview controller and I then return to the original view (with a simple dismiss) I get what can be seen in the second half of the picture.</p>

<p>When the view first loads it appears it does not account for the height of the navigation bar and puts it beneath the bar. Yet the view is larger in interface builder so it does adjust it's size according to the bars, but still puts itself beneath them.</p>

<p>When returning from the modalview it has just pushed everything down the right amount of pixels for everything to be visible.</p>

<p>It's as if something forces it to be at window origin 0,0 when first loading and then when returning from the modalview it fixes itself.</p>

<p>I don't even know where to begin looking for the problem on this one.</p>

<p>Edit: I just discovered that if I set animated:YES in the above code it puts it in the right position <em>after</em> it has slid in the view.</p>
