Skip to content

AXPrefersHorizontalTextLayout()

Category: Function

Platforms: iOS 17.0–18.0Deprecated, iPadOS 17.0–18.0Deprecated, Mac Catalyst 17.0–18.0Deprecated, macOS 14.0–15.0Deprecated, tvOS 17.0–18.0Deprecated, visionOS 1.0+, watchOS 10.0–11.0Deprecated

Overview

Returns a Boolean value that indicates whether the system setting for Prefer Horizontal Text is on.

Declaration

@backDeployed(before: macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0)
func AXPrefersHorizontalTextLayout() -> Bool

Details

See Also

  • Deprecated
  • func AXAnimatedImagesEnabled() -> Bool
  • func AXPrefersHeadAnchorAlternative() -> Bool

  • Accessibility

  • AXPrefersHorizontalTextLayout() Deprecated

AXPrefers Horizontal Text Layout()

Return Value

true if the system setting for Prefer Horizontal Text is on; otherwise, false .

Topics (Grouped)

Deprecated

Code Examples

@backDeployed(before: macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0)
func AXPrefersHorizontalTextLayout() -> Bool

Source: https://developer.apple.com/documentation/accessibility/axprefershorizontaltextlayout()