Last active
December 17, 2015 23:09
-
-
Save flurrydev/5686947 to your computer and use it in GitHub Desktop.
Initializing Flurry Ads System
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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