在FireBase Analytics中,我们无法设置仪表板中显示的屏幕名称。我添加了logevent如下:

时间:2017-06-23 09:19:35

标签: ios objective-c firebase-analytics

[
 FIRAnalytics logEventWithName:@"FirstScreen" 
 parameters:@{ 
  @"screen_name": @"First",
  @"screen_class": @"First"
  }
];

1 个答案:

答案 0 :(得分:2)

[FIRAnalytics setScreenName:@"First" screenClass:@"First"]中添加ViewDidAppear,然后将firebaseautomaticscreenreportingenabled添加到info.plist Boolean,并将其设置为NO