From 0471861d232e7b4d779dc04db9b53c2c4760bdec Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Thu, 24 May 2018 01:37:11 +0800 Subject: [PATCH] Fix that watchOS UIImage+WebCache does not mark as available and cause crash --- SDWebImage/UIImage+WebCache.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDWebImage/UIImage+WebCache.m b/SDWebImage/UIImage+WebCache.m index 0ec283b1..412b6e7f 100644 --- a/SDWebImage/UIImage+WebCache.m +++ b/SDWebImage/UIImage+WebCache.m @@ -10,7 +10,7 @@ #import "NSImage+Compatibility.h" #import "objc/runtime.h" -#if SD_UIKIT +#if SD_UIKIT || SD_WATCH @implementation UIImage (WebCache)