diff --git a/SDWebImage/SDWebImageIndicator.m b/SDWebImage/SDWebImageIndicator.m index fe02f8b0..53830a37 100644 --- a/SDWebImage/SDWebImageIndicator.m +++ b/SDWebImage/SDWebImageIndicator.m @@ -165,6 +165,8 @@ } #endif +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wunguarded-availability" - (void)startAnimatingIndicator { self.indicatorView.hidden = NO; #if SD_UIKIT @@ -207,6 +209,7 @@ self.indicatorView.doubleValue = progress * 100; #endif } +#pragma clang diagnostic pop @end