Utilize __has_include to fix framework import

This commit is contained in:
Chester Liu 2016-10-13 21:25:47 +08:00 committed by GitHub
parent 7dbf15bb0d
commit 8c3c06c342
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@
#if SD_UIKIT #if SD_UIKIT
#if !COCOAPODS #if __has_include(<FLAnimatedImage/FLAnimatedImage.h>)
@import FLAnimatedImage; #import <FLAnimatedImage/FLAnimatedImage.h>
#else #else
#import "FLAnimatedImageView.h" #import "FLAnimatedImageView.h"
#endif #endif