Modifier

Partager via


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

Property Value

The default value is [320,1100] points.

Attributes

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