Type Method

interfaceLayoutDirection(for:)

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

Declaration

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

Parameters

semanticContentAttribute

The semantic content attribute. For a list of possible values, see WKInterfaceSemanticContentAttribute.

Return Value

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