UIAlertView buttons don't work! (1.11.2)
Closed this issue · 1 comments
TRIMER commented
I'am using version 1.11.2. Alert shows 3 buttons:
- update
- remind later
- skip
But texts doesn't equal to button actions. For example 'Skip' button opens AppStore and 'Update' button skips this version.
Problem here:
- (void)didDismissAlert:(id)alertView withButtonAtIndex:(NSInteger)buttonIndex
{
//get button indices
NSInteger downloadButtonIndex = 0;
NSInteger ignoreButtonIndex = [self showIgnoreButton]? 1: 0;
NSInteger remindButtonIndex = [self showRemindButton]? ignoreButtonIndex + 1: 0;
...
Real 'downloadButtonIndex' is 1 etc. Please fix it.
nicklockwood commented
Fixed in 1.11.4.