viewWillTransitionToSize:withTransitionCoordinator: never called on UIViewController in document picker extension

Originator:davidz
Number:rdar://18223876 Date Originated:September 3, 2014
Status:Open Resolved:
Product:iOS SDK Product Version:8.0b5
Classification: Reproducible:Yes
 
Summary:
iOS 8 introduces viewWillTransitionToSize:withTransitionCoordinator: for UIViewControllers; however overriding it in a UIViewController running inside a document picker app extension has no effect because it is never called.

Steps to Reproduce:
1. Use NewBox sample code. In the NewBox UIDocumentPickerExtensionViewController, override viewWillTransitionToSize:withTransitionCoordinator:.
2. Run the document picker extension on an iPhone.
3. Rotate the screen

Expected Results:
3. The UI rotates and viewWillTransitionToSize:withTransitionCoordinator: is called to let the UIViewController deal with the size change.

Actual Results:
3. The UI rotates but viewWillTransitionToSize:withTransitionCoordinator: is never called.

Version:
iOS 8.0 (12A4345d)

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!