BTProgressView 是默认 iOS UIProgressView 组件的嵌入式类替换。
要使用 BTProgressView 应用程序中的 BTProgressView 类文件。
BTProgressView 具有以下属性
@property (nonatomic, assign) CGFloat progress;
当前进度。
@property (nonatomic, strong) UIColor *progressTintColor;
显示在填充部分的进度条的颜色。
@property (nonatomic, strong) UIImage *progressImage;
用于填充部分进度条的图片。
@property (nonatomic, strong) UIColor *progressHandleColor;
进度处理视图。如果未定义颜色,则不绘制处理。
@property (nonatomic, strong) UIColor *trackTintColor;
不填充部分的进度条颜色。
@property (nonatomic, strong) UIImage *trackImage;
用于不填充部分的轨道图片。
@property (nonatomic, assign) BOOL isRightToLeft;
如果为 YES,进度从右向左,否则从左向右。默认为 NO。