contentSizeForViewInPopover
The size of the view controller’s view while displayed in a popover.
Declaration
@property (nonatomic, readwrite) CGSize contentSizeForViewInPopover;Discussion
This property contains the desired size for the view controller when it is displayed in a popover. By default, the width is set to 320 points and the height is set to 1100 points. You can change these values as needed.
The recommended width for popovers is 320 points. If needed, you can return a width value as large as 600 points, but doing so is not recommended.
If the popover controller displaying the view controller sets its contentSize property, the popover controller overrides the values set in the view controller’s contentSizeForViewInPopover property.