共用方式為


UIView.UILayoutFittingCompressedSize 屬性

定義

表示與常數 UILayoutFittingCompressedSize 相關聯的值

[Foundation.Field("UILayoutFittingCompressedSize", "UIKit")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static CoreGraphics.CGSize UILayoutFittingCompressedSize { [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.UILayoutFittingCompressedSize : CoreGraphics.CGSize

屬性值

屬性

備註

SystemLayoutSizeFittingSize(CGSize, Single, Single)表示應該計算最小的可能大小。

適用於

另請參閱

  • <xref:UIKit.UIView.SystemLayoutSizeFittingSize>