The Instagram stories animation is quite unique, but actually not that difficult to achieve. Here, we'll use Core Animation and subclass a UIScrollView to get the desired cube effect as we page through our scroll view.