iphone animation - catch notification
Posted
by satyam
on Stack Overflow
See other posts from Stack Overflow
or by satyam
Published on 2010-05-28T13:13:48Z
Indexed on
2010/05/28
18:12 UTC
Read the original article
Hit count: 224
I'm using following lines of code to animate:
CATransition *animation = [self getAnimation:dirString];
[[self view] exchangeSubviewAtIndex:0 withSubviewAtIndex:1];
[[[self view] layer] addAnimation:animation forKey:kAnimationKey];
After end of animation, I want to play sound. How can I get notification when animation is completed?
© Stack Overflow or respective owner