Replicating Instagram's gesture-driven shared-element transition using UIKit

InstagramTransition

A custom shared-element UIViewController transition implemented in Swift.

Description

This repository contains the complete implementation of Instagram’s image detail transition, as detailed in a two-part article: Part I and Part II. It features a custom push and and an interactive, gesture-driven pop transition that appears as follows:

Test mode

To experiment with the calculated transformations while reading through the article, set the test property of the app delegate to true. This will display a test screen where you can interactively explore the applied transformations.

GitHub

View Github