Enumeration

WKUserInterfaceDirectionPolicy

The policy used to determine the directionality of user interface elements in a web view.

Declaration

enum WKUserInterfaceDirectionPolicy : Int

Overview

When WKUserInterfaceDirectionPolicyContent is specified, the directionality of user interface elements is affected by the dir attribute or the direction CSS property. When WKUserInterfaceDirectionPolicySystem is specified, the directionality of user interface elements is affected by the direction of the view.

Topics

Constants

case content

The directionality follows the CSS/HTML/XHTML specifications. This is the default value of userInterfaceDirectionPolicy.

case system

The directionality follows the view's userInterfaceLayoutDirection property

See Also

Selecting User Interface Directionality

var userInterfaceDirectionPolicy: WKUserInterfaceDirectionPolicy

The directionality of user interface elements.