Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
View modifier

presentedWindowStyle(_:)

A view modifier that maps SwiftUI's presentedWindowStyle.

iOS: unavailable (no-op)macOS 14.0+tvOS: unavailable (no-op)watchOS: unavailable (no-op)
fun Modifier.presentedWindowStyle(style: WindowStyle): Modifier

Overview

Modifier.presentedWindowStyle(style = WindowStyle.…)

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

nonisolated func presentedWindowStyle<S>(_ style: S) -> some View where S : WindowStyle

Topics

Overloads

fun Modifier.presentedWindowStyle(style: WindowStyle): Modifier
SwiftUI View.presentedWindowStyle(_:)