title: changing the size of the popover controller when pushing navigation view controller in popover on iPad
body: <p>I am new in ios developement.I have a main viewController having navigation items while i tap navigation item  popover viewcontroller appears fine and gettig exact contentSize For View In Popover(320,845), the problem is when i tap button inside the popover viewcontroller  popover Contentsize has to be changed. </p>
  
  <pre><code>UIBarButtonItem *btn = (UIBarButtonItem *)sender;
  Agamam *agamamView = [[Agamam alloc] initWithNibName:@"Agamam" bundle:nil];
  agamamView.delegate=self;
  agamamView.contentSizeForViewInPopover  =CGSizeMake(agamamView.view.frame.size.width, agamamView.view.frame.size.height); 
  
  UINavigationController *navController =  [[UINavigationController alloc] initWithRootViewController:agamamView];
  popAgamamView = [[UIPopoverController alloc] initWithContentViewController:navController];
  [popAgamamView presentPopoverFromBarButtonItem:btn permittedArrowDirections:YES animated:YES];
  </code></pre>