Keyboard height is reported improperly

Originator:brian.michel
Number:rdar://18214658 Date Originated:9/03/2014
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 8
Classification:Serious Bug Reproducible:Always
 
Summary:
When rotating a share extension with the keyboard visible, multiple keyboardWillShow/DidShow notifications get dispatched. Sometimes the end frame value is reported improperly. This is mostly seen when rotating from portrait to landscape.

Steps to Reproduce:
1. Open a share extension that has text input in portrait orientation
2. Rotat to landscape while the keyboard is up

Expected Results:
Values from keyboard notification correctly display the size of the keyboard.

Actual Results:
Values from the keyboard notifications sometimes to not reflect the correct size of the keyboard

Version:
iOS 8 Beta 5

Notes:


Configuration:
iPhone 5 64GB AT&T

Please run the attached sample project, go to safari, share to the extension in portrait, then rotate. You will see the keyboard move completely off the screen. This seems to be related apps that have been previously portrait only being rotated. The extension framework does not properly handle interface orientations specified by the view controllers presented.
'awesome.zip' was successfully uploaded.

Comments

Sample project available here, http://drop.mchl.io/1R311y3w0t2d

By brian.michel at Nov. 13, 2014, 7:56 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!