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

How to close these alerts once they are displayed? #2

Open
azav opened this issue Sep 7, 2016 · 1 comment
Open

How to close these alerts once they are displayed? #2

azav opened this issue Sep 7, 2016 · 1 comment

Comments

@azav
Copy link

azav commented Sep 7, 2016

Currently, it is difficult to close these alerts programmatically, because once the alert is displayed, there is no returned object.

I added the capability to return the alertController from a public method within UIAlertController+Window so that if the alert needs to be tracked and closed by the program.

Would you be interested in this?

@acerbetti
Copy link
Owner

sure, please create a PR and I'll review it

thanks

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

2 participants