DOAlertController icon indicating copy to clipboard operation
DOAlertController copied to clipboard

fatal error: Array index out of range on actionsheet on tap gesture

Open kohdesmond opened this issue 9 years ago • 2 comments

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) }

kohdesmond avatar Sep 18 '15 06:09 kohdesmond

the same error when tap outside of the window

jkyeo avatar Oct 25 '16 06:10 jkyeo

@kohdesmond @jkyeo seems that it was fixed in latest release. 2.0 version

astrokin avatar Apr 05 '17 15:04 astrokin