UIKeyboard NSNotifications provide an invalid animation curve value
| Originator: | david | ||
| Number: | rdar://14872290 | Date Originated: | 29-Aug-2013 02:37 PM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 11A4449d |
| Classification: | Other Bug | Reproducible: | Always |
29-Aug-2013 02:37 PM David Robles: Summary: The UIKeyboard show/hide notification center notifications are providing invalid animation curve values in the user info property. Specifically the UIKeyboardWillShowNotification and UIKeyboardWillHideNotification notifications give an integer value for the UIKeyboardAnimationCurveUserInfoKey of 7. The valid integer values for a UIViewAnimationCurve are between 0 and 3. Steps to Reproduce: 1) Add an observer to the NSNotification UIKeyboardWillShowNotification or UIKeyboardWillHideNotification. 2) Examine the userInfo property of the notification object that comes back. Expected Results: Usually an integer value between 0 and 3 is returned corresponding to one of the 4 UIViewAnimationCurve enums. Actual Results: An integer value of 7 will be returned for the animation curve on both the iOS 7 simulator and devices running iOS 7.
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!