Why isn't animation stop selector called?
<p>I am using the following code for calling a method once my animation stops</p>

<pre><code>[UIView beginAnimations:@"swipe" context:NULL];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationDelegate:self];
[UIView setAnimationDidStopSelector:@selector(transitionDidStop:finished:context:)];
[UIView setAnimationDuration:0.3f];

//My Animation

[UIView commitAnimations];
</code></pre>

<p>And this is the signature of the transitionDidStop method</p>

<pre><code>- (void)transitionDidStop:(NSString *)animationID finished:(NSNumber *)finished context:(void *)context
</code></pre>

<p>But I noticed that the method is never called even after the transition stops. Why is that?</p>
