Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
View modifier

allowsWindowActivationEvents(_:)

A view modifier that maps SwiftUI's allowsWindowActivationEvents.

iOS 18.0+macOS 15.0+tvOS: unavailable (no-op)watchOS: unavailable (no-op)
fun Modifier.allowsWindowActivationEvents(): Modifier

Overview

Modifier.allowsWindowActivationEvents()

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

@export(implementation) nonisolated func allowsWindowActivationEvents() -> some View

Topics

Overloads

fun Modifier.allowsWindowActivationEvents(): Modifier
SwiftUI View.allowsWindowActivationEvents()
fun Modifier.allowsWindowActivationEvents(value: Boolean?): Modifier
SwiftUI View.allowsWindowActivationEvents(_:)