0

I have two view controllers and i can manage the right to left animation between them via a custom segue, but what would be the best way to have the incoming VC animate with the finger, kind of like how the home screen on the iphone works?

If this is confusing, I mean to say when you drag your finger right to left on the iPhones home screen, there is a point while you are dragging with your finger where you can see the right half of the first view, and the left half of the second view, the natural action of 'dragging' the 2nd view onto the screen.

Thanks in advance

Gagan Singh
  • 988
  • 12
  • 22

3 Answers3

2

I've seen it described that functionality that resembles the springboard (iphone home screen) is not really separate view controllers, but a single, wide view.

So for the functionality you want to implement, you might want to think about approaching it differently, with a single view controller to swipe between the two.

timzilla
  • 84
  • 6
1

You can try with Page Control, here are some tutorials you may like looking at: - Cocoa with Love - Page Control

vodkhang
  • 18,639
  • 11
  • 76
  • 110
0

If i understood right,you can easily achieve this effect by adding your tableviews to a UIScrollView with pagination enabled.Check this tutorial,tutorial

Mateus
  • 2,640
  • 5
  • 44
  • 62
  • Whilst this may theoretically answer the question, [it would be preferable](http://meta.stackexchange.com/q/8259) to include the essential parts of the answer here, and provide the link for reference. – Emil Feb 10 '13 at 18:53