美文网首页
HockeyAPP 崩溃捕获

HockeyAPP 崩溃捕获

作者: LvyCode | 来源:发表于2017-11-07 10:18 被阅读23次
    • (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
      // Override point for customization after application launch.
      [[BITHockeyManager sharedHockeyManager] configureWithIdentifier:@"bfe4ad0dd2c941c3b3ce0453a0c6aa65"
      delegate:self];
      [BITHockeyManager sharedHockeyManager].debugLogEnabled = YES;
      [BITHockeyManager sharedHockeyManager].serverURL = CRASH_REPORT;

      [[BITHockeyManager sharedHockeyManager] startManager];
      [[BITHockeyManager sharedHockeyManager].authenticator authenticateInstallation];
      [self checkForUpdate];
      if ([self didCrashInLastSessionOnStartup])
      {
      NSLog(@"------Crash detected.");
      }
      return YES;
      }

    相关文章

      网友评论

          本文标题:HockeyAPP 崩溃捕获

          本文链接:https://www.haomeiwen.com/subject/zzpdmxtx.html