DOAlertController
DOAlertController copied to clipboard
fatal error: Array index out of range on actionsheet on tap gesture
I have an array of 5, cancelButtonTag is 6, hence fatal error: Array index out of range
// Handle ContainerView tap gesture func handleContainerViewTapGesture(sender: AnyObject) { // cancel action let action = actions[cancelButtonTag] as! DOAlertAction if (action.handler != nil) { action.handler(action) } self.dismissViewControllerAnimated(true, completion: nil) }
the same error when tap outside of the window
@kohdesmond @jkyeo seems that it was fixed in latest release. 2.0 version