Matched Geometry Effect in SwiftUI

DesignCode on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI8 min

About this video

Shows how to create a custom transition between two views in SwiftUI using the matchedGeometryEffect modifier together with a namespace and id. It is aimed at developers who already know basic SwiftUI views and state.

What you’ll learn

  • Apply matchedGeometryEffect to link two views across a transition
  • Use a namespace and id to pair matching elements in SwiftUI
  • Build a custom animated transition between views