title: contentInset being ignored in ios7 for UIScrollView
body: <p>This worked before ios7 when someone tapped on anything that could become first responder inside a UIScrollView. Now it does not - UITextFields/Views still can show under the keyboard.</p>
  
  <p>Code:</p>
  
  <pre><code>- (void)keyboardWasShown:(NSNotification*)notification{
  
  //Some similar questions mentioned this might work, but made no difference for me
  self.automaticallyAdjustsScrollViewInsets=NO;
  
  NSDictionary* info = [notification userInfo];
  CGSize kbSize = [[info objectForKey:UIKeyboardFrameBeginUserInfoKey] CGRectValue].size;
  
  float height = 0.0;
  
  if (UIDeviceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation)) {
      height = kbSize.width;
  } else {
      height = kbSize.height;
  }
  
  UIEdgeInsets contentInsets = UIEdgeInsetsMake(0.0, 0.0, height, 0.0);
  
  
  [UIView animateWithDuration:.25
                        delay:0
                      options:(UIViewAnimationOptionAllowUserInteraction)
                   animations:^
   {
       self.editorScrollView.contentInset = contentInsets;
       self.editorScrollView.scrollIndicatorInsets = contentInsets;
   }
                   completion:^(BOOL finished)
   {
  
   }];
  }
  </code></pre>
  
  <p>Currently, with this code nothing takes place when a uitextfield/view is assigned first responder status. The insets don't seem to change - I perhaps could use contentOffset but I would have to find the origin view's Y who just become first responder to do that.</p>
  
  <p>Like I said, before ios7 this code worked (no textfield/view would be hidden behind the keyboard when assigned first responder status). I seem to be missing something obvious or perhaps there is a better way of doing this in ios7?</p>