title: Nested push animation can result in corrupted navigation bar UIImagePicker
body: <p>I am using the UIImagePicker to select a photo from the users photo library. </p>
  
  <p>Here is my setup:</p>
  
  <p>MenuViewController (UINavigationController class) that has a tweet button. </p>
  
  <p>Click the tweet button, it presents modally a custom tweet composer. </p>
  
  <p>Select the "Camera Roll" button and I call UIPickerView which is also presented modally. </p>
  
  <p>When you select camera roll (or any album) I get this error: </p>
  
  <pre><code>2013-08-03 02:25:41.842 appName[2145:f803] nested push animation can result in corrupted navigation bar
  </code></pre>
  
  <p>and my custom back button now looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/aNcMA.png" alt="Corrupted Back Button in Nav"></p>
  
  <p>instead of: </p>
  
  <p><img src="https://i.stack.imgur.com/nFPZH.png" alt="enter image description here"></p>
  
  <p>Here is the code that displays the tweet composer:</p>
  
  <pre><code>- (IBAction)tweetButtonPressed:(id)sender {
  
      KBTweetComposer *vc = [self.storyboard instantiateViewControllerWithIdentifier:@"new_tweet"];
  
      vc.defaultText = @"";
  
      [self presentViewController:vc animated:YES completion:nil];
  
  
  }
  </code></pre>
  
  <p>Here is how I'm presenting the picker view:</p>
  
  <pre><code>- (void)photosButtonPressed:(id)sender {
  
      UIImagePickerController * picker = [[UIImagePickerController alloc] init];
      picker.delegate = self;
      picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
  
      [self presentViewController:picker animated:YES completion:nil];
  
  }
  </code></pre>
  
  <p>I am using storyboards, but I am not using segues, just as a side note. I have found quite a few different people on StackOverflow who have the same error but a completely different circumstance. </p>
  
  <p>It may be related to Presenting a UIViewController that then presents another UINavigationController (The UIImagePicker by default has a Nav Controller) in addition to the original. </p>
  
  <p>How can I get around this? Any help would be great, thanks! </p>