Fix the defaultLoopCount function during refactory
This commit is contained in:
parent
786d5f8173
commit
a657d970e4
|
@ -101,7 +101,7 @@
|
||||||
#pragma mark - Utils
|
#pragma mark - Utils
|
||||||
|
|
||||||
+ (NSUInteger)imageLoopCountWithSource:(CGImageSourceRef)source {
|
+ (NSUInteger)imageLoopCountWithSource:(CGImageSourceRef)source {
|
||||||
NSUInteger loopCount = 1;
|
NSUInteger loopCount = self.defaultLoopCount;
|
||||||
NSDictionary *imageProperties = (__bridge_transfer NSDictionary *)CGImageSourceCopyProperties(source, nil);
|
NSDictionary *imageProperties = (__bridge_transfer NSDictionary *)CGImageSourceCopyProperties(source, nil);
|
||||||
NSDictionary *containerProperties = imageProperties[self.dictionaryProperty];
|
NSDictionary *containerProperties = imageProperties[self.dictionaryProperty];
|
||||||
if (containerProperties) {
|
if (containerProperties) {
|
||||||
|
|
Loading…
Reference in New Issue