The splash screen API enables controlling whether the web application should display its splash screen when starting.
The SplashScreen
object is accessed using the
launchbox.SplashScreen
reference.
To decide if the splash screen should be displayed while Pega Mobile Client is starting,
toggle the splashScreenEnabled
setting in the
app.properties
file.
The splash screen on Android consists of a centered splashlogo.png
file and a blank area around the image. You may change the color of the area surrounding the
image by modifying the value of the splashScreenBackground
parameter.
The SplashScreen API uses the following methods:
Methods | Description | Return type |
---|---|---|
show | Shows the splash screen. |
undefined |
hide | Hides the splash screen. |
undefined |