interfaceLayoutDirection(for:)
Returns the user interface direction for the given semantic content attribute.
Declaration
class func interfaceLayoutDirection(for semanticContentAttribute: WKInterfaceSemanticContentAttribute) -> WKInterfaceLayoutDirectionParameters
- 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.