Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
View modifier

searchDictationBehavior(_:)

A view modifier that maps SwiftUI's searchDictationBehavior.

iOS 17.0+macOS: unavailable (no-op)tvOS: unavailable (no-op)watchOS: unavailable (no-op)
fun Modifier.searchDictationBehavior(dictationBehavior: TextInputDictationBehavior): Modifier

Overview

Modifier.searchDictationBehavior(dictationBehavior = TextInputDictationBehavior.…)

This is the Kotlin form of SwiftUI View.searchDictationBehavior(_:): SwiftUI documentation. In Swift it reads:

nonisolated func searchDictationBehavior(_ dictationBehavior: TextInputDictationBehavior) -> some View

Topics

Overloads

fun Modifier.searchDictationBehavior(dictationBehavior: TextInputDictationBehavior): Modifier
SwiftUI View.searchDictationBehavior(_:)