Follow

Showing the Splash Ad

View original article on our GitHub

A Splash Ad is a full-page ad that is displayed immediately after the application is launched. A Splash Ad first displays a full page splash screen that you define (as described below) followed by a full page ad.

StartApp Splash Ad is a top performing ad unit, presenting the industry's best results

StartApp SDK provides two modes for displaying Splash screens:

Splash Screen Mode Description
User - Defined Mode (default) Using your application's default splash image, with a loading animation
Template Mode StartApp SDK provides a pre-defined template in which you can place your own creatives, such as application name, logo and loading animation. for more details, please refer to the "Advanced Manual"

Adding the Splash Screen

In your application delegate class (AppDelegate.m), after initializing the SDK, call the sdk showSplashAd method:

// AppDelegate.m

#import <StartApp/StartApp.h>

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    // initialize the SDK with your appID and devID
    STAStartAppSDK* sdk = [STAStartAppSDK sharedInstance];
    sdk.appID = @"your app Id";
    sdk.devID = @"your developer id";

    [sdk showSplashAd];  // display the splash screen

    return YES;
}

If you wish to customize or use a different splash screen, please refer to theAdvanced Usage.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments