Skip to content

Instantly share code, notes, and snippets.

@statonjr
Created September 26, 2010 03:27
Show Gist options
  • Save statonjr/597566 to your computer and use it in GitHub Desktop.
Save statonjr/597566 to your computer and use it in GitHub Desktop.
var alert = [[CPAlert alloc] init];
[alert setAlertStyle: CPCriticalAlertStyle];
[alert setMessageText:e];
[alert addButtonWithTitle:@"FML"];
[alert setTitle:@"Error!"];
[alert runModal];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment