One Logo Pool Ball
SwiftUICore · IOS API REFERENCE

AccessibilityTextContentType

struct · iOS 15.0+ · SDK 27.1

struct AccessibilityTextContentType

Textual context that assistive technologies can use to improve the presentation of spoken text. Use an `AccessibilityTextContentType` value when setting the accessibility text content type of a view using the ``View/accessibilityTextContentType(_:)`` modifier.

Members (8)

get · iOS 15.0+

fileSystem

TypeScript
static get fileSystem(): AccessibilityTextContentType
Swift declaration
static let fileSystem: AccessibilityTextContentType

A type that represents text used by a file browser, like in the Finder app in macOS.

get · iOS 15.0+

sourceCode

TypeScript
static get sourceCode(): AccessibilityTextContentType
Swift declaration
static let sourceCode: AccessibilityTextContentType

A type that represents text used in source code, like in Swift Playgrounds.

get · iOS 15.0+

spreadsheet

TypeScript
static get spreadsheet(): AccessibilityTextContentType
Swift declaration
static let spreadsheet: AccessibilityTextContentType

A type that represents text used in a grid of data, like in the Numbers app.

get · iOS 15.0+

wordProcessing

TypeScript
static get wordProcessing(): AccessibilityTextContentType
Swift declaration
static let wordProcessing: AccessibilityTextContentType

A type that represents text used in a document, like in the Pages app.

get · iOS 15.0+

plain

TypeScript
static get plain(): AccessibilityTextContentType
Swift declaration
static let plain: AccessibilityTextContentType

A type that represents generic text that has no specific type.

get · iOS 15.0+

console

TypeScript
static get console(): AccessibilityTextContentType
Swift declaration
static let console: AccessibilityTextContentType

A type that represents text used for input, like in the Terminal app.

get · iOS 15.0+

messaging

TypeScript
static get messaging(): AccessibilityTextContentType
Swift declaration
static let messaging: AccessibilityTextContentType

A type that represents text used in a message, like in the Messages app.

get · iOS 15.0+

narrative

TypeScript
static get narrative(): AccessibilityTextContentType
Swift declaration
static let narrative: AccessibilityTextContentType

A type that represents text used in a story or poem, like in the Books app.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUICore types →