When adding and input accessory view from a view controller and then using:
```
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardDidShow:) name:UIKeyboardDidShowNotification object:nil];
```
to then trigger
```
- (void)keyboardWillShow:(NSNotification *)notification
{
NSDictionary *keyboardAnimationDetail = [notification userInfo];
UIViewAnimationCurve curve = [keyboardAnimationDetail[UIKeyboardAnimationCurveUserInfoKey] integerValue];
NSTimeInterval duration = [keyboardAnimationDetail[UIKeyboardAnimationDurationUserInfoKey] doubleValue];
CGRect keyboardRect = [keyboardAnimationDetail[UIKeyboardFrameEndUserInfoKey] CGRectValue];
...
}
```
The keyboardRect height is unreliable in iOS 12. It returns height values that _do not_ match the actual height of the keyboard and the values are inconsistent. This was never an issue in the last 4 versions. Please fix.