Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
View modifier

textInputSuggestions(_:)

A view modifier that maps SwiftUI's textInputSuggestions.

iOS: unavailable (no-op)macOS 15.0+tvOS: unavailable (no-op)watchOS: unavailable (no-op)
fun Modifier.textInputSuggestions(suggestions: @Composable () -> Unit): Modifier

Overview

Modifier.textInputSuggestions()

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

nonisolated func textInputSuggestions<S>(@ContentBuilder _ suggestions: () -> S) -> some View where S : View

Topics

Overloads

fun Modifier.textInputSuggestions(suggestions: @Composable () -> Unit): Modifier
SwiftUI View.textInputSuggestions(_:)