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

Need hooks for delete confirmation #235

Open
robertcrabtree opened this issue Dec 18, 2019 · 0 comments
Open

Need hooks for delete confirmation #235

robertcrabtree opened this issue Dec 18, 2019 · 0 comments

Comments

@robertcrabtree
Copy link

It would be nice if there was a way to prompt the user for delete confirmation before an image is deleted. I was thinking we could add a separate delegate method called shouldRemoveGalleryItem so we could make sure that the user wants to delete. I've created a PR here.

Another option is to make GalleryImageViewController.deleteItem a public method so we can supply our own delete button in the header or footer and call the deleteItem method ourselves. I didn't create a PR for this option but let me know what you think.

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

1 participant