[英]How to remove splash screen on meteor
How can I remove the default splash screen for the Cordova integration with MeteorJS? 如何删除与MeteorJS集成的Cordova的默认启动屏幕? I can't seem to find anything about it on the Meteor Docs .
我似乎在“ 流星文档”上找不到任何相关信息。
I don't know how to remove splashscreen but for replace default splashscreen you need to set something like this: 我不知道如何删除启动画面,但是要替换默认启动画面,您需要设置以下内容:
App.launchScreens({
'iphone': path,
'iphone_2x': path,
'iphone5': path,
'iphone6': path,
'iphone6p_portrait': path,
'iphone6p_landscape': path,
'ipad_portrait': path,
'ipad_portrait_2x': path,
'ipad_landscape': path,
'ipad_landscape_2x': path,
'android_ldpi_portrait': path,
'android_mdpi_portrait': path,
'android_hdpi_portrait': path,
'android_xhdpi_portrait': path
})
in mobile-config.js in project root 在项目根目录的mobile-config.js中
for more information you can check: https://github.com/phonegap/phonegap/wiki/App-Splash-Screen-Sizes 有关更多信息,您可以检查: https : //github.com/phonegap/phonegap/wiki/App-Splash-Screen-Sizes
I think I found out how to do it. 我想我已经找到了解决方法。
In mobile-config.js: 在mobile-config.js中:
App.setPreference('SplashScreen', 'CDVSplashScreen')
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.