objective c - Using Flurry in iOS to track user's event, but I can only log the event defined in AppDelegate.m file. -


i'm trying make logs using flurry track user's action. example, have 5 tabs in main tabviewcontroller, when user switch 1 tab another, want log action. code [flurry logevent:@"user visiting tab1"]

in viewdidload function. in appdelegate.m file, add similar line in "application didfinishlaunchingwithoptions" function,

[flurry logevent:@"myapp started."] 

when try check log event online, shows 1 event "myapp started". seems other events not logged.

btw, start session in appdelegate.m file, like

[flurry startsession:@"my api key"]; [flurry logevent:@"myapp started"]; 

any ideas? thanks.


Comments