Created
October 7, 2011 18:34
-
-
Save nicktoumpelis/1271033 to your computer and use it in GitHub Desktop.
BugSense iOS API Call
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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