Skip to content
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
// Start Flurry session
Flurry.startSession("YOUR_FLURRY_API_KEY");
// A basic Flurry Event
Flurry.logEvent("Started Application");
return true;
}
@IBOutlet weak var streamTitleLabel: UILabel!
@IBOutlet weak var streamDescriptionLabel: UILabel!
@IBOutlet weak var streamImageView: UIImageView!
@IBOutlet weak var streamSponsoredLabel: UILabel!
@IBOutlet weak var streamSponsoredImageView: UIImageView!
@IBOutlet weak var streamSourceLabel: UILabel!
[Flurry setSessionReportsOnPauseEnabled:(BOOL)sendSessionReportsOnPause];
[Flurry setSessionReportsOnCloseEnabled:(BOOL)sendSessionReportsOnClose];
[Flurry logPageView];
[Flurry logAllPageViews:navigationController];
[Flurry logError:@"ERROR_NAME" message:@"ERROR_MESSAGE" exception:e];
[Flurry setUserID:@"USER_ID"];
[Flurry setGender:@"m"];
[Flurry setAge:21];
Something went wrong with that request. Please try again.