Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
View modifier

windowResizeAnchor(_:)

A view modifier that maps SwiftUI's windowResizeAnchor.

iOS: unavailable (no-op)macOS 26.0+tvOS: unavailable (no-op)watchOS: unavailable (no-op)
fun Modifier.windowResizeAnchor(anchor: UnitPoint?): Modifier

Overview

Modifier.windowResizeAnchor(anchor = UnitPoint.…)

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

nonisolated func windowResizeAnchor(_ anchor: UnitPoint?) -> some View

Topics

Overloads

fun Modifier.windowResizeAnchor(anchor: UnitPoint?): Modifier
SwiftUI View.windowResizeAnchor(_:)