圆形变色进度条
查看次数:4113
下载次数:680
上传时间:2015-10-28
大小:39 B
使用说明:
[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]
收藏