Instance Method

setPopoverContentSize:animated:

Changes the size of the popover’s content view.

Declaration

- (void)setPopoverContentSize:(CGSize)size animated:(BOOL)animated;

Parameters

size

The new size to apply to the content view.

animated

Specify YES if you want the change in size to be animated or NO if you want the change to appear immediately.

Discussion

When changing the size of the popover’s content, the width value you specify must be at least 320 points and no more than 600 points. There are no restrictions on the height value. However, both the width and height values you specify may be adjusted to ensure the popup fits on screen and is not covered by the keyboard.

See Also

Configuring the Popover Content

contentViewController

The view controller responsible for the content portion of the popover.

Deprecated
- setContentViewController:animated:

Sets the view controller responsible for the content portion of the popover.

Deprecated
popoverContentSize

The size of the popover’s content view.

Deprecated
passthroughViews

An array of views that the user can interact with while the popover is visible.

Deprecated