Splash Screen
Splash screens use an image to introduce the application. This type of screen displays when the app first launches then transitions
away after a pre-determined amount of time.
iOS
Android
Screenshots
More Information
This plugin produces a screen with an image. Typically the image is used to introduce the application
but it could be any kind of image. Splash screens are designed to animate away after a pre-determined
amount of time, a few seconds usually. However, you can configure the splash screen to not animate away
automatically and instead remain in view until the user taps the screen.
Don't confuse Splash Screens like this one with Launch Images in iOS. iOS uses a set of images
that are compiled in your Xcode project as launch images. These images display as soon as the app
is launched and allow iOS to show the user something is happening. This means you may need to balance
the design of your launch image with the design of your splash image. Generally these are the same
type of message. Think of it this way, the splash screen with cover-up the launch image when it's
done loading. This means you'll want to design the two graphics, (the launch image the splash image)
to work together to get the results you want.
The Launch images come from the project, they are compiled before hand. The splash image can come
from the project or from a URL.
iOS Project
------------------------
1 Objective-C class (a total of 2 files) are needed.
BT_screen_splash.m and .h
BT_screen_splash.m is a basic UIViewController with a background image.
Android Project
------------------------
BT_screen_splash.java is the Activity class that displays the view. The layout is handled by
screen_splash.xml for the activity.
Version History
-----------------
v1.6 2/9/2014 (chris1) Updated for 3.0 control panels
v1.3 11/10/2012
Minor syntax changes to accomodate for Xcode 4.5 compiler warnings.
Minor changes in .java files to accomodate for Anroid (Google) 2.2 API's compiler warnings.
Minor UI changes in .php files for control panel.
v1.0, 1.1, 1.2 (historical versions, no change details)
JSON Data
------------------------
Most folks use the control panel to configure the JSON data for this plugin but it's useful to
see what it may look like:
{
"itemId":"343434",
"itemType":"BT_screen_splash",
"backgroundColor":"#000000",
"startTransitionAfterSeconds":"1",
"transitionDurationSeconds":"1",
"transitionType":"fade",
"backgroundImageScale":"center"
}