Переглядів 14,228
If you have the same view appearing in two different parts of your view hierarchy and want to animate between them - for example, going from a list view to a zoomed detail view - then you should use SwiftUI’s matchedGeometryEffect() modifier, which is a bit like Magic Move in Keynote.