I am working on iPad App in Ios6, There when we click the right bar button i am giving an action like below:
-(IBAction)camerabuttonAction:(id)sender { U
Please try this
[popController presentPopoverFromRect:CGRectMake(1024, self.view.bounds.origin.y + (self.view.bounds.size.height / 2), 1, 1) inView:self.view permittedArrowDirections:UIPopoverArrowDirectionRight animated:YES];