title: How to display my view controller as ui pop over controller?
body: <pre><code>- (IBAction)barBtnMenu:(id)sender
  {
      menuVC *menu=[[menuVC alloc]init];
      UIPopoverController *popover =[[UIPopoverController alloc]initWithContentViewController:menu];
      popover.delegate=self;
      self.popOverController=popover;
      popover.popoverContentSize = CGSizeMake(150,200);
      [self.popOverController presentPopoverFromBarButtonItem:barBtnItem permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
  }
  </code></pre>
  
  <p>but its display plain pop up view ,but that menuVC have some data ,whats wrong in my code please help me.</p>