          let bottomEdgeInWindowCoordinates = window.frame.maxY - frameInWindowCoordinates.maxY
          let bottomInsets = max(insets.bottom, change.frame.height - bottomEdgeInWindowCoordinates)

          self.contentInset.bottom = bottomInsets
          self.verticalScrollIndicatorInsets.bottom = bottomInsets

        case UIResponder.keyboardWillHideNotification:
          self.contentInset = insets
          self.scrollIndicatorInsets = insets