TuSDKCircularProgressView Class Reference

Inherits from UIView
Declared in TuSDKCircularProgressView.h

Overview

自定义视图 环状进度条

  • returns: 一个进度条

– 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