Closed markst closed 6 years ago
Not ideal. but something along these lines:
if (notification.name == UIKeyboardWillShowNotification && keyboardFrame.size.height > 0.0) {
UIView * layoutGuide = self.firstItem;
CGFloat keyboardHeight = CGRectGetHeight(keyboardFrame) - layoutGuide.frame.size.height;
Keyboard constraint needs to factor in the bottom layout guide length/height: