I’m wanting to know if there’s a way I can transform my view to look something like iPhone folders. In other words, I want my view to split somewhere in the middle and reveal a view underneath it. Is this possible?

EDIT:
Per the suggestion below, I could take a screenshot of my application by doing this:
UIGraphicsBeginImageContext(self.view.bounds.size);
[self.view.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
Not sure what to do with this, however.
EDIT:2
I’ve figured out how to add some shadows to my view, and here’s what I’ve achieved (cropped to show relevant part):

EDIT:3
the basic thought will be to take a picture of your current state and split it somewhere. Then animate both parts by setting a new frame. I don’t know how to take a screenshot programmatically so I can’t provide sample code…
EDIT: hey hey it’s not looking great but it works ^^
You can uncomment the two
.contentModelines and the quality will improve but in my case the subview has an offset of 10px or so (you can see it by setting a background color to both subviews)//EDIT 2: ok found that bug. Had used the whole 320×480 screen, but had to cut off the status bar so it should be 320×460 and all is working great 😉