circular chat

download CERoundProgressView library from Github

view.h

#import "CERoundProgressView.h"
@property (retain, nonatomic) IBOutlet CERoundProgressView *progressView;



view.m

#import 

UIColor *tintColor = [UIColor orangeColor];
[[UISlider appearance] setMinimumTrackTintColor:tintColor];
[[CERoundProgressView appearance] setTintColor:tintColor];

self.progressView.trackColor = [UIColor colorWithWhite:0.80 alpha:1.0];
//140,190 160(left)

self.progressView.startAngle = (15);

float k=160.0f;
self.progressView.progress=(k/160);



Previous
Next Post »