Reported Keyboard Frame Is Wrong After An External Keyboard Is Disconnected

Originator:craig.pearlman
Number:rdar://18500204 Date Originated:30-Sep-2014 10:20 AM
Status:Open Resolved:
Product:iOS Product Version:8.0
Classification:UI/Usability Reproducible:Always
 
Summary:
Under the iOS 8 SDK (either in Simulator or tested on a device running iOS 8.0.2), when an external keyboard is disconnected, the keyboard frame reported in the userInfo dictionary (beginFrame) is the wrong height and does not match the size of the keyboard frame before the external keyboard was attached.

Steps to Reproduce:
1. Create a simple project with a UITextView.
2. On keyboard will show or keyboard did show, log the frame of the keyboard.
3. Start up the app.
4. Note the size of the frame when the app starts up.
5. Attach an external keyboard (Simulator or device).
6. Detach the external keyboard.
7. Note the size of the frame when the keyboard reappears.

NOTE: This does *not* occur when the soft/system keyboard is hidden/shown, either through a keyboard hide button or via becoming/resigning first responder status.

I have not tested this with any third-party keyboards.

Expected Results:
The keyboard frame should be accurate.

Actual Results:
The keyboard frame is inaccurate (appears to ignore the QuickType bar's size).

Version:
Any, 8.0 to 8.0.2, Xcode 6.0.1.

Notes:


Configuration:
Simulator, iPhone 5s, iPad Air

Attachments:

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!