Woodstock
Woodstock

Reputation: 22926

Swipe to go back in navigation controller on iOS 7

I've been looking through the iOS 7 / UIKIT framework, and although it looks quite different aesthetically it's really the same SDK underneath from what I can see.

My question, is there any extra code that needs to be included to get the draggable behaviour between pushed tableviews/views?

When you push a view onto a UINavigationController you can now drag back to the previous controller from the side rather than pressing the back button.

This behavior can be seen in mail.

How is this achieved, do I need to add any code to add it to my app?

Upvotes: 12

Views: 10650

Answers (1)

Scott Berrevoets
Scott Berrevoets

Reputation: 16946

This has nothing to do with UITableView or UITableViewController, but with UINavigationController. And yes, you get this behavior for free as long as the back button is visible.

Upvotes: 22

Related Questions