Gap between statusbar and view
<p>Dealing with this issue for last so many days when button is pressed on the <code>Mainviewcontroller</code> it plays audiofile as well as displays <code>View</code> with <code>UIToolbar</code> at the bottom of the <code>View</code>. </p>

<p><code>UIView</code> has <code>UIImage</code> and <code>UIText</code></p>

<p>My issue is that when <code>View</code> is loaded it shows gap between <code>status bar</code> and the loaded <code>view</code> and when <code>infobutton</code> is pressed from the <code>UIToolbar</code> on the <code>view</code> it presents <code>Modalviewcontroller</code> and when this <code>Modalviewcontroller</code> is dismissed back to the <code>View</code> it shows same gap between the <code>status bar</code> and the <code>View</code>. </p>

<pre><code> - (void)displayviewsAction:(id)sender
{

self.view = [[[UIView alloc] initWithFrame:[[UIScreen mainScreen] bounds]]autorelease];

self.view.superview.frame = CGRectMake(0, 0, 320, 480);

PageOneViewController *viewController = [[[PageOneViewController alloc] init]autorelease];

[self.view addSubview:viewController.view]; 

[self.view addSubview:toolbar];

}
</code></pre>

<p>Please anyone knows how to fix this issue. Appreciate your help.</p>

<p>Thanks</p>
