View Source NamespaceContext

<NamespaceContext>

Creates a namespace for child elements to use.

Overview

Used with MatchedGeometryEffectModifier to create a namespace. The id specified can be passed into MatchedGeometryEffectModifier/namespace on a child of this element.

Attributes

SwiftUI Documentation

See SwiftUI.NamespaceContext for more details on this View.

References

The unique identifier for this namespace.