Incorrect value in UIKeyboardFrameBeginUserInfoKey

Originator:oleg.oleksan
Number:rdar://6468254621 Date Originated:09/28/17
Status:Open Resolved:No
Product:iOS SDK Product Version:iOS 11.0 beta (15A5370a)
Classification:Bug Reproducible:75%
 
Area:
UIKit

Summary:
When the notification UIKeyboardWillShowNotification is received the userInfo object contains incorrect value - it has NSRect instead of CGRectValue. 

Steps to reproduce:
1. Launch the project https://github.com/sample-repo/KeyboardNotificationBug .
2. See logs.

Expected Results:
Dictionary contains CGRectValue for the key UIKeyboardFrameBeginUserInfoKey.

Version: 
iOS 11 beta 9.

Notes: 
It is reproducible in ~75%. Sometimes it returns correct value but in most time it doesn't.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!