fix compatability for Xcode 11

This commit is contained in:
DreamPiggy 2019-06-05 16:56:58 +08:00
parent 48c1b0586e
commit 428899a041
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ static char TAG_ACTIVITY_SHOW;
}
- (void)sd_setIndicatorStyle:(UIActivityIndicatorViewStyle)style{
objc_setAssociatedObject(self, &TAG_ACTIVITY_STYLE, [NSNumber numberWithInt:style], OBJC_ASSOCIATION_RETAIN);
objc_setAssociatedObject(self, &TAG_ACTIVITY_STYLE, [NSNumber numberWithInteger:style], OBJC_ASSOCIATION_RETAIN);
}
- (int)sd_getIndicatorStyle{