From 4ba92b6749643d39d5448fd98354ca39c7c1b5c6 Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Fri, 27 Sep 2019 11:44:09 +0800 Subject: [PATCH] Update the example with HEIC coder, this can be used to investigate future performance enhancement from Apple --- Examples/SDWebImage Demo/MasterViewController.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Examples/SDWebImage Demo/MasterViewController.m b/Examples/SDWebImage Demo/MasterViewController.m index 242b329d..14aea5ca 100644 --- a/Examples/SDWebImage Demo/MasterViewController.m +++ b/Examples/SDWebImage Demo/MasterViewController.m @@ -52,7 +52,8 @@ target:self action:@selector(flushCache)]; - [[SDImageCodersManager sharedManager] addCoder:[SDImageWebPCoder sharedCoder]]; + [[SDImageCodersManager sharedManager] addCoder:[SDImageWebPCoder sharedCoder]]; // For WebP static/animated image + [[SDImageCodersManager sharedManager] addCoder:[SDImageHEICCoder sharedCoder]]; // For HEIC static/animated image. Animated image is new introduced in iOS 13, but it contains performance issue for now. // HTTP NTLM auth example // Add your NTLM image url to the array below and replace the credentials