Contents

body(content:)

Gets the current body of the caller.

Declaration

@ViewBuilder @MainActor @preconcurrency func body(content: Self.Content) -> Self.Body

Discussion

content is a proxy for the view that will have the modifier represented by Self applied to it.

See Also

Creating a view modifier