iOS简单帧动画
2017-08-28 本文已影响30人
Big_Zheng
#define FPS 6.0
- (void)viewDidLoad {
[super viewDidLoad];
UIImage *image = [UIImage animatedImageNamed:@"" duration:5*1/FPS];
self.imageView.image = image;
}
#define FPS 6.0
- (void)viewDidLoad {
[super viewDidLoad];
UIImage *image = [UIImage animatedImageNamed:@"" duration:5*1/FPS];
self.imageView.image = image;
}