title: UIKeyboardWillShowNotification issues with ios 11 beta 7
body: <p>Testing my app on iOS 11 beta 7 - it seems like the keyboard doesn't push up the content if my UIViewController. </p>
  
  <p>The code looks like this (working since iOS7): </p>
  
  <pre><code>- (void)handleNotification:(NSNotification*)notification {
  if (notification.name == UIKeyboardWillShowNotification) {
      CGSize keyboardSize = [[[notification userInfo] objectForKey:UIKeyboardFrameBeginUserInfoKey] CGRectValue].size;
      nextButtonALBottomDistance.constant = keyboardSize.height + initialPhoneBottomDistance;
      codeBottomViewALBottomDistance.constant = keyboardSize.height + initialCodeBottomDistance;
      double animationDuration = [[[notification userInfo] objectForKey:UIKeyboardAnimationDurationUserInfoKey] doubleValue];
      [UIView animateWithDuration:animationDuration animations:^{
          [self.view layoutIfNeeded];
      }];
  }
  else if (notification.name == UIKeyboardWillHideNotification) {
      nextButtonALBottomDistance.constant = initialPhoneBottomDistance;
      codeBottomViewALBottomDistance.constant = initialCodeBottomDistance;
      double animationDuration = [[[notification userInfo] objectForKey:UIKeyboardAnimationDurationUserInfoKey] doubleValue];
      [UIView animateWithDuration:animationDuration animations:^{
          [self.view layoutIfNeeded];
      }];
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Interesting enough - when I press the home button (minimizing the app) and reopening it (without killing it) - the layout is fixed. </p>
  
  <p>It seems like an iOS 11 beta bug, but I couldn't find any reference to it so far. </p>
  
  <p>Happy to know if someone else is having this issue.</p>