UIScrollView: Need updated frame when keyboard is being dismissed interactively

Originator:vladimir.fleurima
Number:rdar://14847817 Date Originated:27-Aug-2013 01:49 PM
Status:Open Resolved:
Product:iOS SDK Product Version:7 seed 5
Classification:UI/Usability Reproducible:Always
 
Summary:
Setting UIScrollView's keyboardDismissMode property to interactive allows the user to manipulate the keyboard by dragging. However, there is no (easy) way to find out the updated frame of the keyboard. 

The notifications UIKeyboardDidChangeFrameNotification and UIKeyboardWillChangeFrameNotification are only sent when the keyboard is displayed and dismissed. They are not sent as the frame of the keyboard is updated.

Either these notifications should fire every frame as the keyboard is being dragged, or UIScrollViewDelegate should have a new delegate method, something like -scrollView:didChangeKeyboardFrame:, where the second parameter is the frame of the keyboard converted to the scrollview's coordinate space.

Steps to Reproduce:

Expected Results:

Actual Results:

Regression:

Notes:

Comments

Update: Apple Engineering requested a sample app

I just updated my bug report with one. Link: https://www.dropbox.com/s/juy4p8afbcetyzo/14847817.zip

My Updated Description:

30-Aug-2013 05:12 PM Vladimir Fleurima: Sample project attached.

Steps to Reproduce: * Run sample project. Tap text view anywhere. Drag the keyboard up and down.

Expected Results: The notifications UIKeyboardDidChangeFrameNotification and/or UIKeyboardWillChangeFrameNotification are sent as the frame of the keyboard is updated, and we would see the frame changes on the console.

Actual Results: The notifications are only sent when the keyboard is displayed and dismissed.

By vladimir.fleurima at Aug. 30, 2013, 11:17 p.m. (reply...)

Duped

Thanks. I have the same frustration.

By jaredsinclair.rn at Aug. 29, 2013, 8:53 p.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!