One Logo Pool Ball
SwiftUI · IOS API REFERENCE

TextInputDictationBehavior

struct · iOS 17.0+ · SDK 27.1

struct TextInputDictationBehavior

Members (2)

static · iOS 17.0+

inline

TypeScript
static inline(activation: TextInputDictationActivation): TextInputDictationBehavior
Swift declaration
static func inline(activation: TextInputDictationActivation) -> TextInputDictationBehavior

Adds a dictation microphone in the search bar.

get · iOS 17.0+

automatic

TypeScript
static get automatic(): TextInputDictationBehavior
Swift declaration
static let automatic: TextInputDictationBehavior

A platform-appropriate default text input dictation behavior. The automatic behavior uses a ``TextInputDictationActivation`` value of ``TextInputDictationActivation/onLook`` for visionOS apps and ``TextInputDictationActivation/onSelect`` for iOS apps.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →