Inherits from NSObject
Declared in KKAdBanner.h

Overview

Singleton wrapper for ADBannerView class

Tasks

Properties

adMobBannerView

Gives access to the single AdMob GADBannerView managed by KKAdBanner

@property (nonatomic, readonly) GADBannerView *adMobBannerView

Declared In

KKAdBanner.h

iAdBannerView

Gives access to the single iAd ADBannerView managed by KKAdBanner

@property (nonatomic, readonly) ADBannerView *iAdBannerView

Declared In

KKAdBanner.h

iAdSupported

Returns if iAd is supported on the current device

@property (nonatomic, readonly) BOOL iAdSupported

Declared In

KKAdBanner.h

Class Methods

sharedAdBanner

returns the singleton object, like this: [KKAdBanner sharedAdBanner]

+ (KKAdBanner *)sharedAdBanner

Declared In

KKAdBanner.h

Instance Methods

loadBanner

Load the Ad Banner, by default called by KKRootViewController to initialize iAd based on the startup-config.lua settings

- (void)loadBanner

Declared In

KKAdBanner.h

loadBanner:

unloadBanner

Removes the banner and frees memory

- (void)unloadBanner

Declared In

KKAdBanner.h