Table view content insets get adjusted wildly when rotating a share extension

Originator:brian.michel
Number:rdar://18207630 Date Originated:09/02/2014
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 8
Classification:Serious Bug Reproducible:Always
 
Summary:
Rotating a share extension while the keyboard is up and a UITableViewController is on screen causes the bottom contentInset to be adjusted to an invalid value, causing the content to be pushed off screen.

Steps to Reproduce:
0. ensure that orientation lock is off
1. run the attached application
2. go to Safari, tap the share button, go to more.
3. enable "awesomeshare"
4. hit done
5. tap on "awesomeshare" in the activity picker
6. tap on any of the cells within the share extension
7. rotate the device.

Expected Results:
The UITableView should properly adjust itself based upon the keyboard size.

Actual Results:
The UITableView is improperly adjusted, causing the content to move completely off screen

Version:
iOS 8 Beta 5

Notes:
Toggling the switch within the extension to the on position will start executing the 'sane height' code path. After this option is enabled, you should be able to rotate correctly.

Configuration:
iPHone 5 64GB AT&T

Attachments:
'awesome.zip' was successfully uploaded.

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!