Skip to content

Commit

Permalink
Fix: iOS ImageView 图片帧动画,网络图片播放顺序错乱
Browse files Browse the repository at this point in the history
Issue:  #82
  • Loading branch information
liu.xu_1586 committed Dec 31, 2019
1 parent 3281074 commit 5da7e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MLN-iOS/MLN/Classes/Kit/Component/UI/MLNImageView.m
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ - (void)lua_startAnimation:(NSArray <NSString *> *)urlArray duration:(CGFloat)du
[imageLoder view:self loadImageWithPath:urlStr completed:^(UIImage *image, NSError *error, NSString *imagePath) {
doInMainQueue(if (image) {
[imageArray replaceObjectAtIndex:i withObject:image];
[failImageArray removeObjectAtIndex:i];
[failImageArray removeObject:urlStr];
}
dispatch_group_leave(imagesGroup);)
}];
Expand Down

0 comments on commit 5da7e52

Please sign in to comment.