1.uislider 那个圆形太大了叫ui切个图就行了[selfsetThumbImage:[UIImageimageNamed:@"slider_icon"]forState:UIControlStateNormal]
2.有个特别的需求就这样写了 遍历uiprogress uimageView再根据需求设置
- (void)awakeFromNib
{
[superawakeFromNib];
self.progressTintColor= [UIColorwhiteColor];// 设置已过进度部分的颜色
self.trackTintColor= [UIColorblackColor];// 设置未过进度部分的颜色
self.progress=0.0;// 设置初始值,范围在0.0-1.0之间,默认是0.0
inti=0;
for(UIImageView* imageview in self.subviews)
{
i++;
if(i==1)
{
imageview.layer.borderColor=[UIColorwhiteColor].CGColor;
imageview.layer.borderWidth=0.5f;
}else
{
imageview.layer.borderColor=[UIColorwhiteColor].CGColor;
imageview.layer.borderWidth=1.f;
imageview.transform=CGAffineTransformMakeScale(1.0f,1.1f);
}
imageview.layer.cornerRadius=5;
imageview.clipsToBounds=YES;
}
}