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

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

ionic cordova plugin add cordova-plugin-splashscreen npm install @ionic-native/splash-screen

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

  • Amazon Fire OS
  • Android
  • iOS
  • Windows

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

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

constructor(private splashScreen: SplashScreen) { }

...

this.splashScreen.show();

this.splashScreen.hide();