AutomaticTextEditorStyle

The default text editor style, based on the text editor's context.

StructureiOS 17.0+macOS 14.0+visionOS 1.0+AutomaticTextEditorStyle in SwiftUI

Declaration

React
type AutomaticTextEditorStyle = SwiftOpaque<'AutomaticTextEditorStyle'>;
Swift
@MainActor @preconcurrency struct AutomaticTextEditorStyle

Overview

You can also use TextEditorStyle.automatic to construct this style.

From Apple’s SwiftUI documentation. Code samples there are Swift.

See also

More in Styles.