title: UIImagePickerController hides cancel button
body: <p>I have a UIImagePickerController which gets opened by pressing a button. Here is the code i use to open UIImagePickerController</p>
  
  <pre><code>- (BOOL)shouldStartPhotoLibraryPickerController {
      if (([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypePhotoLibrary] == NO
           &amp;&amp; [UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeSavedPhotosAlbum] == NO)) {
          return NO;
      }
  
      UIImagePickerController *cameraUI = [[UIImagePickerController alloc] init];
      [cameraUI.navigationBar setBarTintColor:[UIColor colorWithRed:17/255 green:19/255 blue:18/255 alpha:1]];
      if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypePhotoLibrary]
          &amp;&amp; [[UIImagePickerController availableMediaTypesForSourceType:UIImagePickerControllerSourceTypePhotoLibrary] containsObject:(NSString *)kUTTypeImage]) {
  
          cameraUI.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
          cameraUI.mediaTypes = [NSArray arrayWithObject:(NSString *) kUTTypeImage];
  
      } else if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeSavedPhotosAlbum]
                 &amp;&amp; [[UIImagePickerController availableMediaTypesForSourceType:UIImagePickerControllerSourceTypeSavedPhotosAlbum] containsObject:(NSString *)kUTTypeImage]) {
  
          cameraUI.sourceType = UIImagePickerControllerSourceTypeSavedPhotosAlbum;
          cameraUI.mediaTypes = [NSArray arrayWithObject:(NSString *) kUTTypeImage];
  
      } else {
          return NO;
      }
  
      cameraUI.allowsEditing = YES;
      cameraUI.delegate = self;
  
      [Flurry logEvent:@"Picture Choosen"];
      [self presentViewController:cameraUI animated:YES completion:nil];
  
      return YES;
  }
  </code></pre>
  
  <p>The view opens fine for the first time. with no status bar and a cancel button as expected.But once any of the albums is selected the status bar shows up and when i navigate back to albums list view the status bar stays and the cancel button is no more there. This only happens in iOS 8. I don't have any issues on iOS 7. I also tested it on iOS 8.1 and it is still an issue. Is this a bug in the iOS or am I doing something wrong here? Any help is appreciated.</p>
  
  <p><img src="https://i.stack.imgur.com/DHuMK.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/gm4YW.png" alt="enter image description here"></p>