Contents

View configuration

Adjust the characteristics of views in a hierarchy.

Overview

SwiftUI enables you to tune the appearance and behavior of views using view modifiers.

[Image]

Many modifiers apply to specific kinds of views or behaviors, but some apply more generally. For example, you can conditionally hide any view by dynamically setting its opacity, display contextual help when people hover over a view, or request the light or dark appearance for a view.

Topics

Hiding views

Hiding system elements

Managing view interaction

Providing contextual help

Detecting and requesting the light or dark appearance

Getting the color scheme contrast

Configuring passthrough

Redacting private content

See Also

Views