Incorrect value in UIKeyboardFrameBeginUserInfoKey

Originator:oleg.oleksan
Number:rdar://6468254621 Date Originated:09/28/17
Status:Closed Resolved:iOS 11.0
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

How did you get such a high bug ID number?

By indiekiduk at Oct. 4, 2017, 12:13 a.m. (reply...)

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!