Using setSourceType with image picker up hides status bar
<p>I am pretty sure this is a bug but I thought I would check.  I used the camera overlay to add a button so that on the iphone a user can switch from the camera view to the photo library.  When button is taped the source type switches fine but the status bar is missing from the photo library.  Throughout the rest of that session the status bar remains missing from all views evet thougth isStatusBarHidden reports NO.</p>

<p>This is how the camera overlay view is created</p>

<pre><code>if (cameraOverlayView == nil) {
    [[NSBundle mainBundle] loadNibNamed:@"CameraOverlayView" owner:self options:nil];
}
</code></pre>

<p>If camera is available this is when I set source type and add overlay</p>

<pre><code>if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera]) {
 [imagePicker setSourceType:UIImagePickerControllerSourceTypeCamera];
 [imagePicker setCameraOverlayView:cameraOverlayView];
}
</code></pre>

<p>Here is the action statement to change source type.</p>

<ul>
<li>(IBAction)selectImage;
{
[imagePicker setSourceType:UIImagePickerControllerSourceTypePhotoLibrary];
}</li>
</ul>

<p>If I don't tap the button on the overlay there is no problem with the status bar.</p>

<p>PS. I did submit a bug report on this.</p>
