📅  最后修改于: 2022-03-11 15:02:15.750000             🧑  作者: Mango
AppDelegate.m
#import "SDImageCodersManager.h"
#import
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
...
// Register support for WebP images.
[SDImageCodersManager.sharedManager addCoder:SDImageWebPCoder.sharedCoder];
...
}