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

show after close #96

Open
prcela opened this issue Feb 2, 2016 · 1 comment
Open

show after close #96

prcela opened this issue Feb 2, 2016 · 1 comment

Comments

@prcela
Copy link

prcela commented Feb 2, 2016

If showing alert immediately after it is closed, it will not be shown.
It is because of closing animation duration that removes views after it has been finished.

timeline:
----------------------------->
close() -> show() -> close anim finished and removed it from superview

@moonlsd
Copy link

moonlsd commented Apr 6, 2016

No need to do that. I have changed the method close to include an extra parameter: void (^)(BOOL)completedHandler, so in close() method I have a callback, which I can use to show again.

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