UIResponder.keyboardWillShowNotification userInfo with wrong UIResponder.keyboardAnimationCurveUserInfoKey value

Originator:Marius.Landwehr
Number:rdar://42419517 Date Originated:uly 20 2018, 10:05 AM
Status:Dupe / Open Resolved:
Product:UIKit Product Version:iOS 12
Classification:Bug Reproducible:always
 
Summary: When accessing the value of UIResponder.keyboardAnimationCurveUserInfoKey from the notifications userInfo dictionary, it will give an invalid Integer to create a animation curve from this. 

This will break many apps that are using this key and transforming it into animation options.

Steps to Reproduce:
1. Run the Demo-Application
2. Touch the TextField in the middle of the demo application
3. The App crashes

Expected Results:
The application is not crashing and the animation from the keyboard is handed to my own animation.

Actual Results:
The App is crashing

Version/Build:
Version 10.0 beta 4 (10L213o) with iOS 12 SDK

Link to Example Project: https://github.com/mRs-/bug-report-curve-transform/archive/master.zip

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!