When scrolling through stories in Instagrams, the new “Stories” function (you know that a cubic transition when moving from one story to another) I can’t understand how they do it!
First of all, if you delve into the functionality, you will find that it works in exactly the same way as the UIPageViewControllers transition:
- He bounces when moving quickly from one look to another.
- You can pause the swipe in the middle of the transition by touching the screen.
The developed team could not use the solution based on the more well-known workarounds, for example:
https://www.appcoda.com/custom-view-controller-transitions-tutorial/
Because, as far as I know, my two statements above cannot be achieved with anything other than PageViewController.
It seems to me that the Instagram development team has gained access to the new transition style for PageViewController, also known as Cube scrolling, or is it a workaround that I don't know about?
Any ideas?
source share