1
これらのアニメーションの繰り返し回数が異なる (外観および消滅画像)の画面に20種類のアニメーションを作成したいと思います。私はこのコードを使用する場合ImageViewループアニメーション
は、一つの画像のための私のコードは
[UIView animateWithDuration:3.0f delay:0 options:UIViewAnimationOptionAutoreverse | UIViewAnimationOptionRepeat animations:^{
_imageView = [[UIImageView alloc] initWithFrame:CGRectMake(148, 0, 17, 18)];
_imageVIew.image = [UIImage imageNamed:@"image.png»];
[self.view addSubview: _imageView];
[_star setAlpha:0];
[_star setAlpha:1];
} completion:nil];
は、デバイスがヒートアップ。どのようにデバイスの負荷を軽減するには?
更新質問 – user214155
申し訳ありませんが、私はまだあなたが望むものを理解していません。 ( – Proton
それは私のせいです – user214155