Contents

interfaceLayoutDirection(for:)

Returns the user interface direction for the given semantic content attribute.

Declaration

class func interfaceLayoutDirection(for semanticContentAttribute: WKInterfaceSemanticContentAttribute) -> WKInterfaceLayoutDirection

Parameters

Return Value

The user interface layout direction (left-to-right or right-to-left). For a list of possible values, see WKInterfaceLayoutDirection.

See Also

Accessing the Layout Direction