Contents

setHorizontalAlignment(_:)

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

Declaration

func setHorizontalAlignment(_ horizontalAlignment: WKInterfaceObjectHorizontalAlignment)

Parameters

  • horizontalAlignment:

    The horizontal alignment of the object.

Discussion

Changes to the horizontal alignment of an object are animatable.

See Also

Setting an Object’s Alignment