Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
Structure

PresentationBackgroundInteraction

The Compose SwiftUI form of SwiftUI's PresentationBackgroundInteraction.

iOS 17.0+macOS 14.0+tvOS 17.0+watchOS 10.0+
class PresentationBackgroundInteraction

Overview

This is the Kotlin form of SwiftUI PresentationBackgroundInteraction: SwiftUI documentation. In Swift it reads:

struct PresentationBackgroundInteraction

Topics

Type properties

val enabled: PresentationBackgroundInteraction
SwiftUI PresentationBackgroundInteraction.enabled
val disabled: PresentationBackgroundInteraction
SwiftUI PresentationBackgroundInteraction.disabled
val automatic: PresentationBackgroundInteraction
SwiftUI PresentationBackgroundInteraction.automatic

Methods

fun enabled(upThrough: PresentationDetent): PresentationBackgroundInteraction
SwiftUI PresentationBackgroundInteraction.enabled(upThrough:)

Types

class PresentationBackgroundInteraction
SwiftUI PresentationBackgroundInteraction