IBM Worklight - hiding splash screen
问题 I want to hide the screen splah of my app and i'm trying to do this with Cordova function navigator.splashscreen.hide() according to this function wlEnvInit(){ wlCommonInit(); document.addEventListener("deviceready", onDeviceReady, false); function onDeviceReady() { alert("device is ready!"); navigator.splashscreen.hide(); } } I placed this code on android/js/myAppName.js and iphone/js/myAppName.js folders. It does not work. There is something wrong? 回答1: I assume what you're trying to do is