Share via


UITraitCollection.PreferredContentSizeCategory 속성

정의

기본 설정 콘텐츠 크기 범주를 설명하는 문자열을 가져옵니다.

[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

속성 값

기본값은 "_UICTContentSizeCategoryUnspecified.

특성

적용 대상