mrcrow / MRFlipTransition

A custom transition that works like the one in Facebook's Paper
MIT License
202 stars 21 forks source link

Update dismiss image #3

Open luisfsresende opened 9 years ago

luisfsresende commented 9 years ago

I'm presenting a scrollview and if I scroll down and then dismiss the view the image for the animation shows the top of the view.

How can I update the image while I scroll?

mrcrow commented 9 years ago

MRFlipTransition has a instance method updateContentSnapshot:afterScreenUpdate: And you can get the instance from the view controller you presented by MRFlipTransition *animator = self.transitionDelegate

I think you can come over by yourself for the rest of the steps.