TuSDKCircularProgressView Class Reference
Inherits from | UIView |
---|---|
Declared in | TuSDKCircularProgressView.h |
– initWithFrame:backColor:progressColor:lineWidth:
自定义进度条初始化方法
- (id)initWithFrame:(CGRect)frame backColor:(UIColor *)backColor progressColor:(UIColor *)progressColor lineWidth:(CGFloat)lineWidth
Parameters
backColor |
圆环的默认颜色 |
---|---|
progressColor |
进度颜色 |
lineWidth |
环的宽度 |
Discussion
@param frame
Declared In
TuSDKCircularProgressView.h
– updateProgressCircle:
更新进度 注意:必须在主线程更新
- (void)updateProgressCircle:(float)progress
Parameters
progress |
进度值 |
---|
Declared In
TuSDKCircularProgressView.h