源码LZProgressView,这种进度条我们应该也比较常见的,喜欢的朋友可以参考一下,这个进度条效果吧。
使用说明:
[lang=objc]NSArray *colors = @[
[UIColor purpleColor],
[UIColor orangeColor],
[UIColor cyanColor],
[UIColor redColor],
[UIColor greenColor],
[UIColor blueColor],
[UIColor yellowColor]
];
LZProgressView *progressView = [[LZProgressView alloc] initWithFrame:CGRectMake(0, 0, 26, 26) andLineWidth:3.0 andLineColor:colors];
progressView.center = self.view.center;
[self.view addSubview:progressView];
[/lang]