Cannot display a blocking view in applicationDidEnterBackground to cover up sensitive information

Originator:davidz
Number:rdar://18092053 Date Originated:August 21, 2014
Status:Duplicate Resolved:Dupe: 17957485 (Open)
Product:iOS Product Version:8.0b5
Classification: Reproducible:Yes
 
Summary:
Apple's recommendation for preventing sensitive information from appearing in the task switcher recommends use of applicationDidEnterBackground:; however, this no longer works in the latest iOS 8 beta 5. When running the sample code, the app is not obscured in time, and the task switcher displays the sensitive information that was properly hidden in iOS 7. When returning to the app, the app content is displayed briefly before the blocking view appears.

Steps to Reproduce:
1. Run sample code here: https://developer.apple.com/library/ios/qa/qa1838/_index.html
2. Switch to some other app
3. Open the task switcher
4. Return to the first app

Expected Results:
3. Task switcher shows a blank thumbnail, rather than the sensitive contents of the sample app
4. The app displays a blank view without revealing what is underneath

Actual Results:
3. Task switcher displays thumbnail of the sample app's contents, and not the blank view
4. The sample app displays its contents briefly before the blank view appears

Version:
iOS 8.0 (12A4345d)

Notes:
I wish to emphasize that Apple's sample code, posted only 3 months ago, does not work. https://developer.apple.com/library/ios/qa/qa1838/_index.html

Configuration:
Tested on iPad device and multiple simulators.

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!