Contents

hasHorizontalRuler

A Boolean that indicates whether the scroll view keeps a horizontal ruler object.

Declaration

var hasHorizontalRuler: Bool { get set }

Discussion

When the value of this method is true, the scroll view allocates a horizontal ruler the first time it’s needed.

Display of rulers is controlled using the rulersVisible property.

See Also

Managing Rulers