Note that there are some explanatory texts on larger screens.

plurals
  1. POproblem in setting PopoverContentSize
    text
    copied!<p>I am not able to set the contentsize with size(650,400).But even i create popoverController with same width &amp; height it is getting created.</p> <p>No idea what is worry ? On tapping Enter it shows as below</p> <p><img src="https://i.stack.imgur.com/jLjJN.png" alt="enter image description here"></p> <pre><code>- (IBAction)setButtonTapped:(id)sender { popover *mpopover = [[popover alloc] init]; UINavigationController *NavController = [[UINavigationController alloc] initWithRootViewController:mpopover]; //NavController.navigationBar.backgroundColor = [UIColor darkGrayColor]; mPickerPopover = [[[UIPopoverController alloc] initWithContentViewController:NavController] retain]; CGSize popoversize = CGSizeMake(400, 90); [mpopover setparent:mPickerPopover]; [mpopover setToolBarFrame:popoversize]; mPickerPopover.popoverContentSize = popoversize; [mPickerPopover presentPopoverFromRect:CGRectMake([sender frame].origin.x, [sender frame].origin.y, 20, 20) inView:self.view permittedArrowDirections:UIPopoverArrowDirectionUp animated:YES]; [mpopover release]; } </code></pre> <p><strong>On tapping show button looks like this</strong> <img src="https://i.stack.imgur.com/i7MYk.png" alt="enter image description here"></p> <pre><code> -(void)buttonView:(id)sender { CGSize popoversize = CGSizeMake(650, 320); [parent setPopoverContentSize:popoversize animated:YES]; [toolbar setFrame:CGRectMake(0, popoversize.height- 90, popoversize.width, 60)]; CATransition *transition = [CATransition animation]; transition.type = kCATransitionPush; transition.duration = 1.0f; transition.timingFunction = UIViewAnimationCurveEaseInOut; [self.view.layer addAnimation:transition forKey:@"transitionViewAnimation"]; } </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload