no viewWillAppear: if container child changes after pushViewController:animated:

Originator:heath.borders
Number:rdar://12322346 Date Originated:18-Sep-2012 02:38 PM
Status:Open Resolved:
Product:iPad SDK Product Version:Version 4.4.1 (4F1003)
Classification:Serious Bug Reproducible:Always
 
18-Sep-2012 02:38 PM Heath Borders:
Summary:
If a containment UIViewController's children change immediately after the containment UIViewController is pushed to a UINavigationController. 

Steps to Reproduce:

Run the attached iPad app. Touch "Select Red Then Blue" to demonstrate the bug.  Notice that "Blue" doesn't receive all of the expected UIViewController lifecycle callbacks. He gets no viewWillAppear:

Expected Results:

the "Blue" UIViewController should receive:
loadView
viewDidLoad
viewWIllAppear:
viewDidAppear:

Actual Results:

the "Blue" UIViewController receives:
loadView
viewDidLoad
viewDidAppear:

Regression:

Notes:


18-Sep-2012 02:38 PM Heath Borders:
'UIKitViewWillAppearBug.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!