動畫結束後,我想做一些動作。如何獲取動畫結束通知
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.80f];
self.view.transform =
CGAffineTransformMakeTranslation(
self.view.frame.origin.x,
480.0f + (self.view.frame.size.height/2) // move the whole view offscreen
);
[self.view setAlpha:0];
[UIView commitAnimations];
我做動畫像上面,如何找出動畫結束了,所以我可以做之後,我的行動。
@Tejashwar我想用動畫去除視圖,我按照你的說法試過,但是它沒有用動畫去除視圖。 – Newbee 2012-08-16 10:38:44