Tabbed application is loosing it's view after a memory warning happens

Originator:yosi
Number:rdar://10926342 Date Originated:2/24/2012
Status:Open Resolved:
Product:iPhone/iPod touch Product Version:5.0
Classification:Serious Bug Reproducible:Always
 
24-Feb-2012 03:52 PM Yosi Taguri:
Summary:
Tabbed application is loosing it's view after a memory warning happens right after a modal dialog is opened and the app is going to background and coming back.

Steps to Reproduce:
1. Open the attached project.
2. Run it (either simulator or device).
3. Press the 2nd tab. a Modal screen will popup.
4. Press the home button to put the app in background
5. bring the app back by pressing the app icon.
6. Press Cancel on the modal.

Expected Results:
The first tab should show it self.

Actual Results:
Blank Screen.

Regression:
This is working fine in ios prior to 5.0

Notes:
Please notice that I'm using an undocumented api to trigger the memory warning. You can reproduce this bug exactly the same if you delete the undocumented api call and trigger a memory warning using the simulator.

24-Feb-2012 03:52 PM Yosi Taguri:
'tabbed.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!