ibireme 9 anni fa
parent
commit
11a23bf176
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 4 2
      README.md

+ 4 - 2
README.md

@@ -26,8 +26,8 @@ Usage
 
 ###Display animated image
 	
-	// File: ani@2x.webp
-	UIImage *image = [YYImage imageNamed:@"ani.webp"];
+	// File: ani@3x.gif
+	UIImage *image = [YYImage imageNamed:@"ani.gif"];
 	UIImageView *imageView = [[YYAnimatedImageView alloc] initWithImage:image];
 	[self.view addSubView:imageView];
 
@@ -76,6 +76,8 @@ Usage
 	[imageView startAnimating];
 	// set frame index:
 	imageView.currentAnimatedImageIndex = 12;
+	// get current status
+	image.currentIsPlayingAnimation;
 	
 ###Image decoder