UIViewController: no rotation callbacks when playing video embedded in web view.

Originator:martin.redington
Number:rdar://11173771 Date Originated:03/04/2012
Status:Open Resolved:
Product:iPad SDK Product Version:5.1 (9B176)
Classification:Serious Bug Reproducible:Always
 
Summary:

When a webview contains embedded video, and the video is playing full screen,  the topmost view controller receives no rotation callbacks, if the view controller is contained within a UINavigation Controller.

Steps to Reproduce:

See the attached project. Look in -[GVTAppDelegate application:didFinishLaunchingWithOptions:] for how to tun the bug on and off.

To see the bug in action, run the project, play the video displayed on the web view. Maximise it to full screen. Rotate the device.

Expected Results:

The view controller should receive rotation callbacks (the sample app has logging on these).

Actual Results:

The view controller does not receive rotation callbacks.

Regression:

Not tested on prior versions.

Notes:

If the UIViewController is not part of a UINavigationController hierarchy, the callbacks are received.

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!