Merge pull request #2744 from dvshelley/3.x-Xcode11

fix compatability for Xcode 11
This commit is contained in:
DreamPiggy 2019-06-05 12:48:31 +08:00 committed by GitHub
commit cc09c9fbfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ static char TAG_ACTIVITY_SHOW;
}
- (void)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)getIndicatorStyle{