Description
When the app goes to the background a screenshot of the current app state is taken. When the app resumes that screenshot is shown for a split of a second. This is to make a visual hint to the user that the app is still running where it was before going to the background. On iOS 7 that screenshot image is used also to display the app in the multitasking experience.
The problem:
For some customers this is a security concern, since that screenshot can reveal confidential app data, such as user back account numbers, usernames, private messages, etc...
New feature.
A property will be exposed in the Ti.App module to avoid this from happening. The splash screen image of the app will be shown instead of a snapshot.
Ti.App.forceSplashAsSnapshot = true;
PR: https://github.com/appcelerator/titanium_mobile/pull/4847
Closed previos PR as not valid. New PR: https://github.com/appcelerator/titanium_mobile/pull/4867 Sample code:
PR https://github.com/appcelerator/titanium_mobile/pull/4867 merged
Closing ticket as fixed. Verified setting Ti.App.forceSplashAsSnapshot to true will display the splash screen when resuming an app. On iOS 7, the splash screen is displayed in the multitasking view. Tested on: Titanium Studio, build: 3.2.0.201310301740 SDK build: 3.2.0.v20131030150844 Xcode: 5.0 Device: iphone 4s (6.0.1), iphone 5s (7.0.2)