title: Enable UITableView scrolling during a scroll in UIScrollView
body: <p>I have a <code>UITableView</code> inside a <code>UIScrollView</code></p>
  
  <p>The table view looks like: </p>
  
  <pre><code>private(set) lazy var tableView: UITableView = {
      let tableView = UITableView(frame: CGRect.zero, style: .plain)
      tableView.separatorStyle = .none
      tableView.showsVerticalScrollIndicator = false
      tableView.rowHeight = 70
      tableView.backgroundColor = .blue
      tableView.bounces = false
      tableView.alwaysBounceVertical = false
      tableView.isScrollEnabled = false
      return tableView
  }()
  </code></pre>
  
  <p>As you see I have disabled the scrolling in the table view because I want it to scroll along with the rest of the views inside the <code>UIScrollView</code>. What I want to achieve though, is to enable the scrolling of the tableView when the <code>UIScrollView</code> has reached certain offset, therefore I have that in the <code>scrollViewDidScroll</code> delegate method: </p>
  
  <pre><code>func scrollViewDidScroll(_ scrollView: UIScrollView) {
      if scrollView.contentOffset.y &gt;= 160 {
          self.view.tableView.isScrollEnabled = true
      }
  }
  </code></pre>
  
  <p>The above works partially. The <code>UITableView</code> that just had it's scrolling enabled doesn't scroll, unless I lift my finger off the screen and start scrolling again. </p>
  
  <p>Any ideas how can I get the desired behaviour ?</p>