[TIMOB-20625] SplashScreen is used for "Ti.App.forceSplashAsSnapshot" instead of LaunchScreen
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2016-03-31T17:59:15.000+0000 |
| Affected Version/s | Release 5.2.0, Release 5.2.1 |
| Fix Version/s | Release 5.4.0, Release 5.3.0 |
| Components | iOS |
| Labels | forceSplashAsScreenshot, launchscreen, storybord, tislack |
| Reporter | Hans Knöchel |
| Assignee | Hans Knöchel |
| Created | 2016-03-25T13:28:22.000+0000 |
| Updated | 2016-04-06T22:36:39.000+0000 |
PR (master): https://github.com/appcelerator/titanium_mobile/pull/7882 PR (5_3_X): https://github.com/appcelerator/titanium_mobile/pull/7892
var win = Ti.UI.createWindow({ backgroundColor : "#fff" }); var label = Ti.UI.createLabel({ text: "SENSITIVE INFORMATION", font: { fontSize: 40, }, textAlign: "center", color: "red" }); Ti.App.forceSplashAsSnapshot = true; win.add(label); win.open();Verified fixed, using: MacOS 10.11.4 (15E65) Studio 4.6.0.201604061507 Ti SDK 5.3.0.v20160406135813 Appc NPM 4.2.5-1 Appc CLI 5.3.0-12 Alloy 1.8.5 Xcode 7.3 (7D175) On backgrounding, the app shows the correct launch screen, from the storyboard. Tested using provided code.