Note that there are some explanatory texts on larger screens.

plurals
  1. POMultiple UITableViews in a UIScrollView like Etsy app
    text
    copied!<p>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" <code>UITableView</code> that I can swipe right/left to reveal a neighboring <code>UITableView</code>. Essentially I'd like to page through multiple <code>UITableView</code>s via horizontal swipe gestures as if they're nested in a <code>UIScrollView</code>.</p> <p>The 2 apps that I see doing this successfully are the new Twitter app &amp; the Etsy app. (12/13/13)</p> <p><img src="https://i.stack.imgur.com/fNk9p.jpg" alt="twitter and etsy app screenshots"></p> <p>I've tried:</p> <ul> <li><code>UITableView</code>s in a paging enabled <code>UIScrollView</code> but the vertical scrolling causes strangeness (Apple warns you that it will).</li> <li>I've also tried placing the <code>UITableView</code>s in a parent UIView and using a <code>UIPanGestureRecognizer</code> to move the UIView around. This seems promising then you don't get the horizontal "snap" behavior you get with a paging enabled <code>UIScrollView</code></li> <li>I also tried <code>PanelTableView</code> but it didn't behave well in ios7 and allowed diagonal movement etc. It works "OK" on ios6 but the performance is a bit jerky...</li> </ul> <p>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.</p> <p>Anyone have any suggested strategies to pursue here? </p> <p>Thanks</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload