Utilize __has_include to fix framework import
This commit is contained in:
parent
7dbf15bb0d
commit
8c3c06c342
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue