UIViewController.ContentSizeForViewInPopover UIViewController.ContentSizeForViewInPopover Property

Definition

Default content size for popovers.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'PreferredContentSize' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[get: Foundation.Export("contentSizeForViewInPopover")]
[get: ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'PreferredContentSize' instead.")]
[get: ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[set: Foundation.Export("setContentSizeForViewInPopover:")]
[set: ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'PreferredContentSize' instead.")]
[set: ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreGraphics.CGSize ContentSizeForViewInPopover { get; set; }
member this.ContentSizeForViewInPopover : CoreGraphics.CGSize with get, set

Property Value

The default value is [320,1100] points.

Remarks

Unless overridden by PopoverContentSize, this value specifies the content size of popovers displayed by the UIViewController.

Popovers may be up to 600 points wide, but application developers are recommended to use the standard 320 point width.

Applies to

See also