title: How to dismiss keyboard in scrollview?
body: <p>The following code to dismiss the keyboard upon touching outside of it was working fine until I interspersed a scrollview between the uiview and the elements in storyboard to permit scrolling.  Now it is not working.  Can anyone suggest what might be going wrong?</p>
  
  <pre><code>//dismiss keyboard
  - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
      NSLog(@"touchesBegan:withEvent:");
      [self.view endEditing:YES];
      [super touchesBegan:touches withEvent:event];
  }
  </code></pre>