Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kohdesmond opened this issue Sep 18, 2015 · 2 comments
Open

Comments

@kohdesmond
Copy link

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

@jkyeo
Copy link

jkyeo commented Oct 25, 2016

the same error when tap outside of the window

@astrokin
Copy link
Contributor

astrokin commented Apr 5, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants