A
A
AlexeyGolenkov2020-08-15 18:44:14
Swift
AlexeyGolenkov, 2020-08-15 18:44:14

How to make an animated image zoom out in a PageViewController?

There is a PageViewController that scrolls left and right. There is a photo on the first page. It is necessary that when scrolling to the second page, the photo smoothly decreases. That is, the further I scroll, the more the picture decreases.
I can only make an animation when I have completely moved to the second page, but to reduce the picture in the process of turning over is an impossible task for me. Tell me how to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Vorobei, 2020-08-16
@ivanvorobei

To do this, use a collection with a custom layout. PageController won't work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question