O'Reilly logo

Getting Started with Flurry Analytics by Bhanu Birani

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting up basic code

To set up Flurry, open your Application Delegate file and import Flurry on top, exactly where you imported all the other header files. Then, inside your applicationDidFinishLaunching: method, call [Flurry startSession:@"YOUR_API_KEY"]; with the following code:

#import "Flurry.h"
- (void)applicationDidFinishLaunching:(UIApplication *)application { 
[Flurry startSession:@"YOUR_API_KEY"];
//your code
}

Tip

Downloading the example code

You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

That's it! This is all you need to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required