UIView.SystemLayoutSizeFittingSize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| SystemLayoutSizeFittingSize(CGSize) | |
| SystemLayoutSizeFittingSize(CGSize, Single, Single) |
SystemLayoutSizeFittingSize(CGSize)
[Foundation.Export("systemLayoutSizeFittingSize:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreGraphics.CGSize SystemLayoutSizeFittingSize(CoreGraphics.CGSize size);
[<Foundation.Export("systemLayoutSizeFittingSize:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SystemLayoutSizeFittingSize : CoreGraphics.CGSize -> CoreGraphics.CGSize
override this.SystemLayoutSizeFittingSize : CoreGraphics.CGSize -> CoreGraphics.CGSize
Parameters
- size
- CGSize
Returns
- Attributes
Applies to
SystemLayoutSizeFittingSize(CGSize, Single, Single)
[Foundation.Export("systemLayoutSizeFittingSize:withHorizontalFittingPriority:verticalFittingPriority:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreGraphics.CGSize SystemLayoutSizeFittingSize(CoreGraphics.CGSize targetSize, float horizontalFittingPriority, float verticalFittingPriority);
[<Foundation.Export("systemLayoutSizeFittingSize:withHorizontalFittingPriority:verticalFittingPriority:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SystemLayoutSizeFittingSize : CoreGraphics.CGSize * single * single -> CoreGraphics.CGSize
override this.SystemLayoutSizeFittingSize : CoreGraphics.CGSize * single * single -> CoreGraphics.CGSize
Parameters
- targetSize
- CGSize
- horizontalFittingPriority
- Single
- verticalFittingPriority
- Single
Returns
- Attributes