Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UIAlertViewDelegate change method called
If you want to do a complex action after having dismissed Update alert view (like show another alert view, also a custom alert view), you should be 100% sure the previous alert has been completely dismissed. For that reason, call didDismissWithButtonIndex delegate method instead of clickedButtonAtIndex method. Already tested in my project with this complex actions that have to take place. Without this fix, I won’t be able to se the following alert view.
- Loading branch information
49f8852
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sold on doing this, as
didDismissWithButton:
gets called even if the device goes to sleep while an alert is visible.There's a set of delegate methods on Harpy that you can make use of to perform an action after a button is pressed.
I'm more than happy to continue the conversation here, but I'm going to close the PR as I don't agree with this change.