Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
View modifier

presentationBackgroundInteraction(_:)

A view modifier that maps SwiftUI's presentationBackgroundInteraction.

iOS 17.0+macOS 14.0+tvOS 17.0+watchOS 10.0+
fun Modifier.presentationBackgroundInteraction(interaction: PresentationBackgroundInteraction): Modifier

Overview

Modifier.presentationBackgroundInteraction(interaction = PresentationBackgroundInteraction.…)

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

nonisolated func presentationBackgroundInteraction(_ interaction: PresentationBackgroundInteraction) -> some View

Topics

Overloads

fun Modifier.presentationBackgroundInteraction(interaction: PresentationBackgroundInteraction): Modifier
SwiftUI View.presentationBackgroundInteraction(_:)