diff --git a/Libraries/Image/RCTAnimatedImage.m b/Libraries/Image/RCTAnimatedImage.m index 978fc2e905d7c3..85bf09e05d37c2 100644 --- a/Libraries/Image/RCTAnimatedImage.m +++ b/Libraries/Image/RCTAnimatedImage.m @@ -87,9 +87,12 @@ - (NSUInteger)imageLoopCountWithSource:(CGImageSourceRef)source NSNumber *gifLoopCount = gifProperties[(__bridge NSString *)kCGImagePropertyGIFLoopCount]; if (gifLoopCount != nil) { loopCount = gifLoopCount.unsignedIntegerValue; - // A loop count of 1 means it should repeat twice, 2 means, thrice, etc. - if (loopCount != 0) { - loopCount++; + if (@available(iOS 14, *)) { + } else { + // A loop count of 1 means it should animate twice, 2 means, thrice, etc. + if (loopCount != 0) { + loopCount++; + } } } }