Skip to content

Instantly share code, notes, and snippets.

@aquarius
Created October 19, 2011 10:08
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 aquarius/1297890 to your computer and use it in GitHub Desktop.
Save aquarius/1297890 to your computer and use it in GitHub Desktop.
Prevent Quincy from reporting older crash logs on first launch
if (![[NSUserDefaults standardUserDefaults] valueForKey: @"CrashReportSender.lastCrashDate"]) {
[[NSUserDefaults standardUserDefaults] setValue: [NSDate date]
forKey: @"CrashReportSender.lastCrashDate"];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment