iOS Swift - Animations
Examine this SwiftUI code snippet:
@Namespace var ns
var body: some View {
VStack {
Text("First")
.matchedGeometryEffect(id: "label", in: ns)
Text("Second")
.matchedGeometryEffect(id: "label", in: ns)
}
}
What is the issue with this usage of matchedGeometryEffect?