Editar

Compartir a través de


UIViewAutoresizing Enum

Definition

An enumeration indicating the resizing style for UIViews.

This enumeration supports a bitwise combination of its member values.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Flags]
public enum UIViewAutoresizing
type UIViewAutoresizing = 
Inheritance
UIViewAutoresizing
Attributes

Fields

All 63

The UIView resizes on all sides.

FlexibleBottomMargin 32

Resizing is performed by expanding or shrinking the UIView in the direction of the bottom margin.

FlexibleDimensions 18

Combines FlexibleHeight and FlexibleWidth.

FlexibleHeight 16

Resizing is performed by expanding or shrinking the UIView's height.

FlexibleLeftMargin 1

Resizing is performed by expanding or shrinking the UIView in the direction of the left margin.

FlexibleMargins 45

Combination of all flexible margin values.

FlexibleRightMargin 4

Resizing is performed by expanding or shrinking the UIView in the direction of the right margin.

FlexibleTopMargin 8

Resizing is performed by expanding or shrinking the UIView in the direction of the top margin.

FlexibleWidth 2

Resizing is performed by expanding or shrinking the UIView's width.

None 0

Indicates that the view does not resize.

Applies to