Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react native fast image webp ios

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];
  ...
}
Source by github.com #
 
PREVIOUS NEXT
Tagged: #react #native #fast #image #webp #ios
ADD COMMENT
Topic
Name
4+1 =