Skip to content

Instantly share code, notes, and snippets.

@nicktoumpelis
Created October 7, 2011 18:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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