Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
View modifier

presentationPlacement(_:)

A view modifier that maps SwiftUI's presentationPlacement.

iOS 27.0+macOS 27.0+tvOS 27.0+watchOS 27.0+
fun Modifier.presentationPlacement(placement: PresentationPlacement): Modifier

Overview

Modifier.presentationPlacement(placement = PresentationPlacement.…)

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

nonisolated func presentationPlacement(_ placement: PresentationPlacement) -> some View

Topics

Overloads

fun Modifier.presentationPlacement(placement: PresentationPlacement): Modifier
SwiftUI View.presentationPlacement(_:)