Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to implement a corner page curl UI?

Tags:

iphone

ipad

I have an app with two full-screen views, one on top of the other. I would like to show the corner of the top view curled slightly away, and allow the user to curl it away more until the view underneath is completely showing.

The user should be able to interact with whatever part of the view underneath is exposed, and with whatever part of the view above is exposed.

I'd especially like this to look and feel like the page turn curling in iBooks. I've done a lot of searching about the iBooks page curl, but not much turns up. There's a great OpenGL implementation, but I don't know how to get from there to here. Any ideas?

like image 496
Hilton Campbell Avatar asked Oct 07 '10 15:10

Hilton Campbell


1 Answers

A much simpler to implement, and therefore simpler visually approach is available here: http://github.com/brow/leaves

You may have a bit more success starting small.

like image 143
Chad Udell Avatar answered Nov 15 '22 14:11

Chad Udell