iOS:update cli template file
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
|
||||
#import "AppDelegate.h"
|
||||
#import <DoricCore/Doric.h>
|
||||
#if __has_include(<SDWebImage/SDWebImage.h>)
|
||||
#import <SDWebImage/SDWebImage.h>
|
||||
#import <SDWebImageWebPCoder/SDWebImageWebPCoder.h>
|
||||
#endif
|
||||
|
||||
@interface AppDelegate ()
|
||||
@end
|
||||
@@ -15,6 +19,9 @@ @interface AppDelegate ()
|
||||
@implementation AppDelegate
|
||||
|
||||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
||||
#if __has_include(<SDWebImage/SDWebImage.h>)
|
||||
[SDImageCodersManager.sharedManager addCoder:SDImageWebPCoder.sharedCoder];
|
||||
#endif
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user