UIViewController custom transition - like appstore iOS 11 app tab

What is the best way to create a UIViewController user transition, which on the first VC , for example, has an image, and when you click on it, it rises at the top of the screen and some other user interface components (for example, labels and text elements) are added to the screen?

I want to achieve something like what Apple did on the new Today tab in the App Store:

Example

Any idea what is the best way?

Thanks:)

+5
source share
2 answers

You can use this behavior using https://github.com/lkzhao/Hero

+4
source

The image shown above opens a dialog. You can do it the same way, just create a Modal and add all the materials in it, such as text, label, image and cross. Open this dialog by clicking on the image.

-1
source

Source: https://habr.com/ru/post/1272525/


All Articles