Flipboard/FLAnimatedImage

FLAnimatedImage

Opened this issue · 0 comments

FLAnimatedImage

218行

应该做iOS 15判断

const BOOL isGIFData = imageSourceContainerType ? UTTypeConformsTo(imageSourceContainerType, kUTTypeGIF) : NO;

应该改成
BOOL isGIFData = NO;
if (imageSourceContainerType) {
if (@available(iOS 15, *)) {
if ([[NSString stringWithFormat:@"%@", imageSourceContainerType] isEqualToString: [NSString
stringWithFormat:@"%@",UTTypeGIF]]) {
isGIFData = YES;
}
} else {
isGIFData = UTTypeConformsTo(imageSourceContainerType, kUTTypeGIF);
}
}