title: UIButton in a scrollView is not responding
body: <p>I have a ScrollView, and a container view inside of it. 
  UIButtons are inside of the container view. 
  When I run the program, <code>UIButtons</code> that are at the end of the ScrollView are unresponsive.
  UITextFields are responsive.
  Yet, after tweaking around with frames I made sure that both origin and hightXwidth of UIScrollView and container view are matched. I checked it with print statements.
  Some of the settings:</p>
  
  <pre><code>scrollView.isExclusiveTouch = true
  scrollView.delaysContentTouches = false
  scrollView.isUserInteractionEnabled = true
  </code></pre>
  
  <p>ScrollView's content size: </p>
  
  <pre><code>let hightForScrollMenu: CGFloat = 120
  scrollView.contentSize = CGSize(width: scrollView.frame.size.width, height: scrollView.frame.size.height+hightForScrollMenu)
  </code></pre>
  
  <p>Output view:
  <a href="https://i.stack.imgur.com/iOQtz.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iOQtz.jpg" alt="enter image description here"></a></p>
  
  <p>When checking:</p>
  
  <pre><code>viewInsideScrollView.frame.size.height = scrollView.frame.size.height
  print("Zhenya: ScrollView's frame height is:\(scrollView.frame.size.height) and its origin is \(scrollView.frame.origin)")
  print("Zhenya: ViewInsideScrollView's frame heigt is: \(viewInsideScrollView.frame.size.height) and its origin is \(scrollView.frame.origin)")
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/9hYIs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9hYIs.png" alt="enter image description here"></a></p>
  
  <p>View Controller attributes: </p>
  
  <p><a href="https://i.stack.imgur.com/ZymI3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZymI3.png" alt="enter image description here"></a></p>
  
  <p>Main View attributes and constraints:</p>
  
  <p><a href="https://i.stack.imgur.com/yJMZ7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yJMZ7.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/vK3BB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vK3BB.png" alt="enter image description here"></a></p>
  
  <p>ScrollView attributes and constraints: </p>
  
  <p><a href="https://i.stack.imgur.com/dI4JV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dI4JV.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/WjKqe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WjKqe.png" alt="enter image description here"></a></p>
  
  <p>Container View attributes and constraints: </p>
  
  <p><a href="https://i.stack.imgur.com/BgTnp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BgTnp.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/txPC3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/txPC3.png" alt="enter image description here"></a></p>