Skip to content

SDImageCoderHelper 未使用 format #3869

Description

@ijunfly

SDImageCoderHelper中添加了format判断,使用时未做替换

    SDImageFormat format;
    if (@available(iOS 12.0, tvOS 12.0, macOS 10.14, watchOS 5.0, *)) {
        format = SDImageFormatPNG;
    } else {
        format = SDImageFormatGIF;
    }
    CFStringRef imageUTType = [NSData sd_UTTypeFromImageFormat:xxxxx];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions