Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using UIPageViewController and making the view look like it's flapping

I'm wondering if there's a way to animate the very first view in UIPageViewController so that it looks like the one of the page corners is flapping a little bit? As if a little breeze bristles the pages when you first arrive on this particular screen.

This to add some sort of UI affordance to indicate that screen can be swiped. The content we're displaying with UIPageViewController doesn't take up the entire screen like a book does but would like to make it more obvious to the user that they can use gestures to navigate horizontally.

Any suggestions would be helpful.

like image 761
Jonas Gardner Avatar asked Apr 03 '12 00:04

Jonas Gardner


1 Answers

Have a look there: https://github.com/brow/leaves

This guy made a new ViewControllers / View class allowing this kind of animation.

Hope that helps.

like image 187
ews Avatar answered Oct 20 '22 01:10

ews