Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
View modifier

privacySensitive(_:)

A view modifier that maps SwiftUI's privacySensitive.

iOS 17.0+macOS 14.0+tvOS 17.0+watchOS 10.0+
fun Modifier.privacySensitive(sensitive: Boolean = true): Modifier

Overview

Modifier.privacySensitive()

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

nonisolated func privacySensitive(_ sensitive: Bool = true) -> some View

Topics

Overloads

fun Modifier.privacySensitive(sensitive: Boolean = true): Modifier
SwiftUI View.privacySensitive(_:)