Contents

init(alignment:)

Creates a stack with the specified alignment.

Declaration

init(alignment: Alignment = .center)

Parameters

  • alignment:

    The guide for aligning the subviews in this stack on both the x- and y-axes.