Authored by 阿达

遗漏

... ... @@ -98,7 +98,7 @@
BOOL isGrowing = progress > 0.f;
UIImageView * maskImageView = [[UIImageView alloc]init];
if (iOS8_OR_LATER) {
[maskImageView setFrame:CGRectMake(0, 0, CGRectGetWidth(self.progressBarView.frame), CGRectGetHeight(self.progressBarView.frame))];
[maskImageView setImage:[UIImage imageNamed:@"Mask"]];
self.progressBarView.maskView = maskImageView;
}else{
[maskImageView setFrame:CGRectMake(0, 0, CGRectGetWidth(self.progressBarView.frame), CGRectGetHeight(self.progressBarView.frame))];
... ...