Search code examples
iphonecore-animation

iPhone: sliding view in and out by pulling an image down from the top


I'm trying to get a UIViewController (B) to appear over a current UIViewController / UITableViewController (A) by pulling down an image which will reveal B from the top of the screen.

Just below the navigation bar will be an image which is placed on top of A and the user can pull the image down to a certain position revealing a bit of B and then the image and B will animate down to a certain position on the screen, revealing the B's UIViewController / UITableViewController. I've including 2 drawings below hopefully clearing it up better?

First screen: User can pull down the image from the top revealing B as user pulls the image down http://www.petermumford.com/screen1.jpg Second screen: B is now revealed by the image sliding down after reaching its certain pull down position http://www.petermumford.com/screen2.jpg

Can anyone point me in the right direction if this is possible? Any feedback is greatly appreciated.


Solution

  • If you are developing this app for the public it would not be wise to do a gesture like this. It directly conflicts with the notification system tray in iOS5