title: setting postion of popover view in ipad
body: <p>I am using a POPover View in my application where i have a action method,in that i am implementing popover view code.</p>
  
  <p>I have a Button when i click on button popover View appears with table view,clicking on the cell the Cell data displays on the label.</p>
  
  <p>What my requirement is when i click on the button the popover view is getting displayed on LEFT TOP corner,whereas button is Right Top Corner of the screen.i want to set the popover frame below the button on click so please correct me where i am going wrong.</p>
  
  <pre><code>    -(IBAction) settingsGo:(id) sender{
  
      NSLog(@"Go");
  
     if (self.popoverController == nil)
  
      {
          PopOver *lang = [[PopOver alloc]
                         initWithNibName:@"PopOver" bundle:[NSBundle mainBundle]];
  
          UIPopoverController *popOver = 
          [[UIPopoverController alloc]initWithContentViewController:lang];
  
          popOver.delegate = self;
          [lang release];
  
          self.popoverController = popOver;
          [popOver release];
      }
      [popoverController setPopoverContentSize:CGSizeMake(250, 150)];
  
      [popoverController presentPopoverFromRect:Button.frame inView:self.view permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
  }
  </code></pre>