Skip to content

Instantly share code, notes, and snippets.

@ianbarber
Created August 2, 2012 17:04
Show Gist options
  • Save ianbarber/3238740 to your computer and use it in GitHub Desktop.
Save ianbarber/3238740 to your computer and use it in GitHub Desktop.
- (void)finishedSharing:(BOOL)shared {
NSString *text = shared ? @"Shared!" : @"Cancelled!";
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Result"
message:text
delegate:nil
cancelButtonTitle:@"OK"
otherButtonTitles:nil];
[alert show];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment