UITraitCollection.PreferredContentSizeCategory Property

Definition

Gets a string describing the preferred content size category.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual string PreferredContentSizeCategory { [Foundation.Export("preferredContentSizeCategory")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.PreferredContentSizeCategory : string

Property Value

The default value is "_UICTContentSizeCategoryUnspecified.

Attributes

Applies to