title: IOS7 - Popover not working since iOS7
body: <p>I have a number of apps that have popovers on iPad where when a button is clicked, a popover would appear, resize and show.  </p>
  
  <p>Since using iOS7 and xcode 5, when run in simulator, this no longer works, and all that happens is the sreen goes grey like something is loading but not showing correctly. </p>
  
  <p>This runs fine on iOS6 and below however on iOS7 doesnt work anymore! </p>
  
  <p>Code per below, please help! </p>
  
  <p>in my popover .m file </p>
  
  <pre><code>- (void)awakeFromNib
  {
      self.contentSizeForViewInPopover = CGSizeMake(450, 90);
      [super awakeFromNib];
  }
  </code></pre>
  
  <p>In my mainviewcontroller .m file:</p>
  
  <pre><code>- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
  
  {
  
      //Eraser Popover controls
      if ([[segue identifier] isEqualToString:@"showAlternate"]) {
          [[segue destinationViewController] setDelegate:self];
  
          if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad) {
              UIPopoverController *popoverController = [(UIStoryboardPopoverSegue *)segue popoverController];
              self.EraserPopoverController = popoverController;
              popoverController.delegate = self;
          }
      }
  </code></pre>