title: the horizontal scroll of collectionView is not working(collectionview is inside backgroundView of tableView)
body: <p>I have collectionView inside tableView.backgroundView.
  TableView covers collectionView when it scrolls to top.</p>
  <blockquote>
  <p>let customView = CustomView(frame: CGRect(x: 0, y: 0,width: view.frame.size.width, height: 164)) // my collectionView inside of this cuctomView</p>
  <p>self.tableView.backgroundView = UIView()
  self.tableView.backgroundView?.addSubview(customView)</p>
  </blockquote>
  <p>the tableView has contentInset with following parameters.</p>
  <blockquote>
  <p>self.tableView.contentInset = UIEdgeInsets(top:
  200, left: 0, bottom: 0, right: 0)</p>
  </blockquote>
  <p>The problem that scroll of my collectionView doesn't work properly. When I try to scroll my collectionView horizontally, there is the vertical scroll of tableView is triggering. The same happens with taps. In 70 % works vertical scroll of tableView, when I try to scroll my collectionview horizontally .</p>
  <p>You can see the schema of view in this picture.
  Sorry for my poor english
  <a href="https://i.stack.imgur.com/4j7aV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4j7aV.png" alt="enter image description here" /></a></p>