Skip to content

Instantly share code, notes, and snippets.

@flurrydev
Last active December 17, 2015 23:09
Show Gist options
  • Save flurrydev/5686947 to your computer and use it in GitHub Desktop.
Save flurrydev/5686947 to your computer and use it in GitHub Desktop.
Initializing Flurry Ads System
#import "Flurry.h"
#import "FlurryAds.h"
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Your code
// Replace YOUR_API_KEY with the api key in the downloaded package
[Flurry startSession:@"YOUR_API_KEY"];
// Pointer to your rootViewController. Note: the initialize call should be
// invoked only once immediately after the call to startSession
[FlurryAds initialize:window.rootViewController];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment