Closed alexrrouse closed 10 years ago
@arrouse Technically you can accomplish the same thing by passing 0 for the duration:
duration
The total duration of the animations, measured in seconds. If you specify a negative value or 0, the changes are made without animating them.
But I'm not sure whether the completion block is called. Do you know if that's the case?
Just tried it out. It still does call the completion. closing.
Adding a simple animation category to allow you to specify if you want the view to animate its changes or not.