Last active
December 18, 2015 13:18
-
-
Save Geri-Borbas/5788674 to your computer and use it in GitHub Desktop.
Custom button titles with EPPZAlert.
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
[EPPZAlert alertWithTitle:@"Download update?" | |
message:@"Downloading can take up to 40 seconds! Still want to proceed?" | |
buttonTitles:@[ @"Upload", @"Later" ] | |
completition:^(NSString *selectedButtonTitle) | |
{ | |
if ([selectedButtonTitle isEqualToString:@"Upload"]) | |
[self upload]; | |
if ([selectedButtonTitle isEqualToString:@"Later"]) | |
[self later]; | |
}]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment