title: UITableView in UIScrollView in iOS7
body: <p>I'm working on a project which needs a paged <code>scrollView</code>, and each page with a <code>tableView</code> inside. I'd like the <code>tableView</code> to handle vertical scrolling while the <code>scrollView</code> handles horizon scrolling.</p>
  <p>A test project on github: <a href="https://github.com/singro/Arc" rel="nofollow noreferrer">https://github.com/singro/Arc</a></p>
  <p>It works with iOS 6, but when it comes to iOS7, It works only when the <code>viewController</code> is not pushed from a <code>navigationController</code>.</p>
  <p><strong>some files in my project:</strong></p>
  <pre><code>SCMainViewController.h
  SCMainViewController.m
  SCSubView1.h
  SCSubView1.m
  SCSubView2.h
  SCSubView2.m
  SCViewController.h
  SCViewController.m
  </code></pre>
  <p><code>SCViewController</code> is VC which contains a paged <code>scrollView</code> &amp; add <code>SCSubView1</code> and <code>SCSubView2</code> to  each page.</p>
  <p><code>SCMainViewController</code> is a test for <code>navigationController</code> with a <code>tableView</code>, tap of a cell will push to <code>SCViewController</code>.</p>
  <p><strong>Two test cases in AppDelegate:</strong></p>
  <p>One to set <code>SCViewController</code> as window's <code>rootViewController</code>,</p>
  <p>Another sets a <code>navigationController</code> as window's <code>rootViewController</code> while <code>SCMainViewController</code> as <code>navigationController</code>'s <code>rootViewController</code>.</p>
  <p>Here is the unexpected behavior for my <code>tableView</code> with <code>navigationController</code>:
  <img src="https://i.stack.imgur.com/QIM03.png" alt="enter image description here" /></p>