Skip to content

prefersHorizontalTextLayoutDidChangeNotification

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 notification that posts when the system setting to prefer horizontal text for languages that support both vertical and horizontal text layout changes.

Declaration

static var prefersHorizontalTextLayoutDidChangeNotification: Notification.Name { get }

Details

See Also

  • Customizing vertical text layout
  • API ReferenceHorizontal text
  • static var prefersHorizontalTextLayout: Bool

  • Accessibility

  • AccessibilitySettings
  • prefersHorizontalTextLayoutDidChangeNotification

prefers Horizontal Text Layout Did Change Notification

Topics (Grouped)

Customizing vertical text layout

  • Horizontal text — API Reference; Lay out vertical text horizontally in your app when people turn on the Prefer Horizontal Text setting.
  • varprefersHorizontalTextLayout:Bool — static; 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.

Code Examples

static var prefersHorizontalTextLayoutDidChangeNotification: Notification.Name { get }

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