Keyboard frame change while dragging of keyboardDismissMode not notified to observers

Originator:aviv.by
Number:rdar://15341512 Date Originated:29-Oct-2013
Status:Open Resolved:
Product:iOS Product Version:7.0.3
Classification:Bug Reproducible:Yes
 
Summary:
iOS 7 introduced the very nice keyboardDismissMode with its different modes that allow dragging a keyboard offscreen. The problem is that during the drag, which in the interactive mode can take several seconds as the user can wiggle the keyboard, the different keyboard notifications are not being fired, and so there's no way for the app to adapt to the visible portion of the keyboard on screen.

Steps to Reproduce:
1. Setup an iOS project with a UIScrollView
2. Set scroll view's keyboardDismissMode to UIScrollViewKeyboardDismissModeInteractive
3. Add a text view to the scroll view
4. Add observers on notification center for UIKeyboardWillChangeFrameNotification
4. Run the app
5. Tap inside the text view
6. Drag down the keyboard slowly
7. See that the notification observers were not called

Expected Results:
Notification observers should know that the keyboard is now taking a different size of the screen

Actual Results:
No notification is being triggered until the keyboard is dragged completely off screen

Version:
iOS 7.0.3

Notes:
This is something that's very important for apps that want to have a view similar to Messages.app where the text view is moving along the keyboard as the drag is happening

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!