Ignore the unguarded availability warning for indicator

This commit is contained in:
DreamPiggy 2018-02-21 19:06:24 +08:00
parent e7e3caae72
commit 4557278cb5
1 changed files with 3 additions and 0 deletions

View File

@ -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