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
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.
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