UISearchbar inside uinavigationcontroller
<p>Looks like dumb question, but...:</p>

<pre><code>- (void)viewWillAppear:(BOOL)animated {

[super viewWillAppear:animated]; 
self.bar = [[UISearchBar alloc] initWithFrame:CGRectMake(0.0, 20.0, self.navigationController.view.bounds.size.width, HEADER_HEIGHT)];
mySearchDisplayController = [[UISearchDisplayController alloc] initWithSearchBar:bar contentsController:self];
mySearchDisplayController.delegate = self;
mySearchDisplayController.searchResultsDataSource = self;
mySearchDisplayController.searchResultsDelegate = self;
[self.navigationController.view addSubview:self.bar];
</code></pre>

<p>All behavior is working fine while i don't press a cancel or hided tableview. 
After that search bar is closed and i see a clear navigation bar, without search bar.
I has change to viewDidload, but nothing changed.</p>

<p>Before start printing:</p>

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

<p>after:</p>

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