jivadevoe/UIAlertView-Blocks — pull request #9 by pburleson (2011-12-06 20:22:26+00:00)
Title: Crash if UIActionSheet dismissed from touch outside popover on iPad

Fix crash if tap outside popover of UIActionSheet dismisses it without selection. If presented from a UIBarButtonItem and a tap away dismisses the sheet's popover, the buttonIndex is -1 causing an index out of bounds exception.