View.AutoresizingMask
Options for automatic view resizing.
public struct AutoresizingMask: OptionSet
Inheritance
OptionSet
Initializers
init(rawValue:)
public init(rawValue: UInt)
Properties
rawValue
public let rawValue: UInt
none
public static var none: View.AutoresizingMask
flexibleLeftMargin
Resizing performed by expanding or shrinking a view in the direction of the left margin.
public static var flexibleLeftMargin: View.AutoresizingMask
flexibleWidth
Resizing performed by expanding or shrinking a view’s width.
public static var flexibleWidth: View.AutoresizingMask
flexibleRightMargin
Resizing performed by expanding or shrinking a view in the direction of the right margin.
public static var flexibleRightMargin: View.AutoresizingMask
flexibleTopMargin
Resizing performed by expanding or shrinking a view in the direction of the top margin.
public static var flexibleTopMargin: View.AutoresizingMask
flexibleHeight
Resizing performed by expanding or shrinking a view’s height.
public static var flexibleHeight: View.AutoresizingMask
flexibleBottomMargin
Resizing performed by expanding or shrinking a view in the direction of the bottom margin.
public static var flexibleBottomMargin: View.AutoresizingMask