Skip to content

Instantly share code, notes, and snippets.

@nicktoumpelis
Created October 7, 2011 18:34
Show Gist options
  • Save nicktoumpelis/1271033 to your computer and use it in GitHub Desktop.
Save nicktoumpelis/1271033 to your computer and use it in GitHub Desktop.
BugSense iOS API Call
#import <BugSense-iOS/BugSenseCrashController.h>
- (BOOL) application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
//...
NSDictionary *myCustomData = [NSDictionary dictionaryWithObjectsAndKeys:@"myObject", @"myKey", nil];
BugSenseCrashController *crash =
[BugSenseCrashController sharedInstanceWithBugSenseAPIKey:@"<Your BugSense API Key>"
userDictionary:myCustomData
sendImmediately:NO];
//...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment