0

I would like to enable Popover controller, right on the launch of my application in the portrait mode. Kindly give me some points to note down, I'm a newbie.

Thanks,

Xander
  • 902
  • 2
  • 14
  • 33

1 Answers1

0

After playing a lot with my code, i found this...

- (void)viewDidAppear:(BOOL)animated
{
    [super viewDidAppear:animated];
    if (masterPopoverController != nil) {
        [masterPopoverController presentPopoverFromRect:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height) inView:self.view permittedArrowDirections:UIPopoverArrowDirectionUnknown animated:YES];
    }   
}
Xander
  • 902
  • 2
  • 14
  • 33