phatduckk
phatduckk

Reputation: 1795

Multiple UITableViews in a UIScrollView like Etsy app

I've searched SO a read a bunch threads and haven't found any solid solutions to this. I'm trying to implement a Controller that displays a "full page" UITableView that I can swipe right/left to reveal a neighboring UITableView. Essentially I'd like to page through multiple UITableViews via horizontal swipe gestures as if they're nested in a UIScrollView.

The 2 apps that I see doing this successfully are the new Twitter app & the Etsy app. (12/13/13)

twitter and etsy app screenshots

I've tried:

I really don't care much about the "..." in the Twitter app's navigation bar or the scroll navigation in the Etsy app. Just focussed on being able to page through multiple UITableViews right now.

Anyone have any suggested strategies to pursue here?

Thanks

Upvotes: 2

Views: 300

Answers (1)

thorb65
thorb65

Reputation: 2716

an easy way to this is by using the UIPageViewController. This way you can add unlimited number of pages, each contain his own UIViewController, or like you want, UITableViewController. best way to that.

Upvotes: 4

Related Questions