Utilize __has_include to fix framework import
This commit is contained in:
parent
7dbf15bb0d
commit
8c3c06c342
|
@ -10,8 +10,8 @@
|
|||
|
||||
#if SD_UIKIT
|
||||
|
||||
#if !COCOAPODS
|
||||
@import FLAnimatedImage;
|
||||
#if __has_include(<FLAnimatedImage/FLAnimatedImage.h>)
|
||||
#import <FLAnimatedImage/FLAnimatedImage.h>
|
||||
#else
|
||||
#import "FLAnimatedImageView.h"
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue