add Crashlytics

This commit is contained in:
clowwindy
2013-06-26 02:15:21 +08:00
parent 8e5315ace3
commit 8c97fb8c44
10 changed files with 283 additions and 1 deletions

View File

@@ -5,6 +5,7 @@
// Created by clowwindy on 2/16/13.
// Copyright (c) 2013 clowwindy. All rights reserved.
//
#import <Crashlytics/Crashlytics.h>
#import "SWBAppDelegate.h"
@@ -21,7 +22,8 @@ void polipo_exit();
}
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[Crashlytics startWithAPIKey:@"fa65e4ab45ef1c9c69682529bee0751cd22d5d80"];
[[UIApplication sharedApplication] beginBackgroundTaskWithExpirationHandler:^{
}];