iOS:when use YYImage,startAnimation donot work

This commit is contained in:
pengfei.zhou 2021-11-04 18:51:22 +08:00 committed by osborn
parent 601e9a79c0
commit 1f01b7bffe

View File

@ -619,6 +619,9 @@ - (NSNumber *)isAnimating {
}
- (void)startAnimating {
#if DORIC_USE_YYWEBIMAGE
[(DoricImageView *)self.view setCurrentAnimatedImageIndex:0];
#endif
[self.view startAnimating];
}