title: Swift - iOS 11 Translation
body: <p>I'm currently testing my app on iOS11 and I spot a problem in a controller where I translate a view. The controller is composed of a table view at the top and at the bottom a field to type text.
  On iOS9 &amp; 10, the following code allows the bottom field to translate at the top of the keyboard.
  However nothing happens on iOS11. </p>
  
  <pre><code>func keyboardWillAppear(_ notification: NSNotification) {
      if let keyboardSize = (notification.userInfo?[UIKeyboardFrameBeginUserInfoKey] as? NSValue)?.cgRectValue {
          self.bottomView.transform = CGAffineTransform(translationX: 0, y: -keyboardSize.height)
          self.attachmentView?.transform = CGAffineTransform(translationX: 0, y: -keyboardSize.height)
          self.classicTableView.contentInset = UIEdgeInsetsMake(0.0, 0.0, keyboardSize.height + 10.0, 0.0);
      }
  }
  </code></pre>
  
  <p>I should behave like this :
  <a href="https://i.stack.imgur.com/fzuba.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fzuba.png" alt="enter image description here"></a></p>
  
  <p>Do you have an idea why the behaviour has changed ? How can I resolve this problem ?</p>
  
  <p>Thank you in advance</p>