2011-04-22 143 views

回答

2

您可以使用block based animation方法。

[UIView animateWithDuration:1.0 
    delay:0.0 
    options:UIViewAnimationOptionAllowUserInteraction 
        | UIViewAnimationOptionCurveEaseInOut 
    animations:^{ 
      //your animation code 
    } completion:^(BOOL finished){ 
      //your code when animation finished.. 
}]; 
相關問題