rowdyruckus
rowdyruckus

Reputation: 902

Use of undeclared identifier "FlurryAPI"

I already have analytics enabled and working.

I have added:

#import "FlurryAdDelegate.h"
#import "FlurryAppCircle.h"
#import "FlurryOffer.h"
#import "FlurryAnalytics.h"

this line throws this error:

Use of undeclared identifier "FlurryAPI":

[FlurryAPI setAppCircleEnabled:YES];

Upvotes: 0

Views: 644

Answers (2)

sblom
sblom

Reputation: 27363

The right call for that is [FlurryAppCircle setAppCircleEnabled:YES];

I don't think there's a FlurryAPI class at all.

See sample code at the Flurry documentation site.

Upvotes: 1

Allison
Allison

Reputation: 2383

Are you sure you imported the class that has FlurryAPI? Did you follow all the instructions for flurryAPI? If that was all you needed to import you most likely need to create a string (or whatever flurry uses!)

Another thing is, you could have possibly forgot to import the framework!

Upvotes: 1

Related Questions