Splash Screen

Contents

This plugin displays and hides a splash screen during application launch. The methods below allows showing and hiding the splashscreen after the app has loaded.

https://github.com/apache/cordova-plugin-splashscreen

联系我们?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.

Contact Us Today!

Ionic 启动画面Splash Screen插件的安装(Installation)

ionic cordova plugin add cordova-plugin-splashscreen npm install @ionic-native/splash-screen
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEY npm install @ionic-enterprise/splash-screen

Ionic 启动画面Splash Screen插件支持的平台(Supported Platforms)

  • Amazon Fire OS
  • Android
  • iOS
  • Windows

Ionic 启动画面Splash Screen插件的用法(Usage)

import { SplashScreen } from '@ionic-native/splash-screen/ngx';

constructor(private splashScreen: SplashScreen) { }

...

this.splashScreen.show();

this.splashScreen.hide();