#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;
}
本文标题:iOS简单帧动画
本文链接:https://www.haomeiwen.com/subject/feqwdxtx.html
网友评论