Simply use “UIKeyboardFrameBeginUserInfoKey” instead:
NSValue *aValue = [info objectForKey:UIKeyboardFrameBeginUserInfoKey];