Skip to content

prefersHorizontalTextLayout

Category: Type Property

Platforms: iOS 18.0+, iPadOS 18.0+, Mac Catalyst 18.0+, macOS 15.0+, tvOS 18.0+, visionOS 2.0+, watchOS 11.0+

Overview

A Boolean value that indicates whether the system setting to prefer horizontal text for languages that support both vertical and horizontal text layout is on.

Declaration

static var prefersHorizontalTextLayout: Bool { get }

Details

See Also

  • Customizing vertical text layout
  • API ReferenceHorizontal text
  • static var prefersHorizontalTextLayoutDidChangeNotification: Notification.Name

  • Accessibility

  • AccessibilitySettings
  • prefersHorizontalTextLayout

prefers Horizontal Text Layout

Discussion

The value of this property is true if the system setting for Prefer Horizontal Text is on; otherwise, false .

Topics (Grouped)

Customizing vertical text layout

Code Examples

static var prefersHorizontalTextLayout: Bool { get }

Source: https://developer.apple.com/documentation/accessibility/accessibilitysettings/prefershorizontaltextlayout