AppDelegate.m
#import "SDImageCodersManager.h"
#import <SDWebImageWebPCoder/SDImageWebPCoder.h>
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
...
// Register support for WebP images.
[SDImageCodersManager.sharedManager addCoder:SDImageWebPCoder.sharedCoder];
...
}
AppDelegate.m
#import "SDImageCodersManager.h"
#import <SDWebImageWebPCoder/SDImageWebPCoder.h>
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
...
// Register support for WebP images.
[SDImageCodersManager.sharedManager addCoder:SDImageWebPCoder.sharedCoder];
...
}