Commit 1b69e6037a98c382f5f0f2ad7da4abd950e89f59
1 parent
a6c1f3972d
Exists in
master
remove unnecessary lines
Showing 1 changed file with 0 additions and 4 deletions Side-by-side Diff
AnimatedWebpExample/ViewController.m
View file @
1b69e60
... | ... | @@ -31,8 +31,6 @@ |
31 | 31 | , self.view.bounds.size.width * self.imageView.frame.size.width / self.imageView.frame.size.height); |
32 | 32 | self.imageView.contentMode = UIViewContentModeScaleAspectFit; |
33 | 33 | self.imageView.clipsToBounds = YES; |
34 | - [self.imageView setImage:image]; | |
35 | - [self.imageView startAnimating]; | |
36 | 34 | [self.imageView.layer setBorderColor:[[UIColor yellowColor] CGColor]]; |
37 | 35 | [self.imageView.layer setBorderWidth:1]; |
38 | 36 | [self.view addSubview:self.imageView]; |
... | ... | @@ -46,8 +44,6 @@ |
46 | 44 | , self.view.bounds.size.width * self.imageView2.frame.size.width / self.imageView2.frame.size.height); |
47 | 45 | self.imageView2.contentMode = UIViewContentModeScaleAspectFit; |
48 | 46 | self.imageView2.clipsToBounds = YES; |
49 | - [self.imageView2 setImage:image]; | |
50 | - [self.imageView2 startAnimating]; | |
51 | 47 | [self.view addSubview:self.imageView2]; |
52 | 48 | } |
53 | 49 |