0
这是我的块动画代码:UIView的帧序列动画
[UIView animateWithDuration:.5f delay:15.0f options:UIViewAnimationTransitionNone animations:^{
animationContainer.image = [UIImage imageNamed:@"Hear 1_00.png"];
}completion:^(BOOL finished){
if(! finished) return;
[UIView animateWithDuration:.5f delay:15.0f options:UIViewAnimationTransitionNone animations:^{
animationContainer.image = [UIImage imageNamed:@"Hear 1_01.png"];
}completion:^(BOOL finished){
if(! finished) return;
}];
}];
我想用动画分辨率320x480(iPhone的全屏幕)帧序列。我有120张照片,如果我尝试使用NSArray
来设置动画效果,iPhone似乎变慢了。你有建议或示例代码,你可以与我分享或建议吗?由于