diff --git a/SDWebImage/SDAnimatedImageView.h b/SDWebImage/SDAnimatedImageView.h index 6eb071e9..e822c4ea 100644 --- a/SDWebImage/SDAnimatedImageView.h +++ b/SDWebImage/SDAnimatedImageView.h @@ -57,12 +57,14 @@ Default is YES. Set to NO to only render the static poster for incremental animated image. */ @property (nonatomic, assign) BOOL shouldIncrementalLoad; + +#if SD_UIKIT /** You can specify a runloop mode to let it rendering. Default is NSRunLoopCommonModes on multi-core iOS device, NSDefaultRunLoopMode on single-core iOS device */ @property (nonatomic, copy, nonnull) NSRunLoopMode runLoopMode; - +#endif @end #endif