Instance Method

setVerticalAlignment(_:)

Sets the vertical alignment of an object relative to its container’s bounds.

Declaration

func setVerticalAlignment(_ verticalAlignment: WKInterfaceObjectVerticalAlignment)

Parameters

verticalAlignment

The vertical alignment of the object.

Discussion

Changes to the vertical alignment of an object are animatable.

See Also

Setting an Object’s Alignment

func setHorizontalAlignment(WKInterfaceObjectHorizontalAlignment)

Sets the horizontal alignment of an object relative to its container’s bounds.