滑块视图
pod 'SJSlider'
SJSlider *slider = [SJSlider new];
[self.view addSubview:slider];
slider.frame = CGRectMake(20, 100, 200, 10);
slider.value = 0.5;
SJSlider *slider = [SJSlider new];
[self.view addSubview:slider];
slider.isRound = NO;
slider.frame = CGRectMake(20, 100, 200, 10);
slider.thumbImageView.image = [UIImage imageNamed:@"thumb"];
slider.value = 0.5;
SJSlider *slider = [SJSlider new];
[self.view addSubview:slider];
slider.frame = CGRectMake(20, 100, 200, 10);
slider.value = 0.5;
slider.enableBufferProgress = YES;
slider.bufferProgress = 0.8;
SJButtonSlider *b_slider = [SJButtonSlider new];
b_slider.frame = CGRectMake(50, 300, 300, 40);
b_slider.slider.value = 0.3;
b_slider.slider.thumbImageView.image = [UIImage imageNamed:@"thumb"];
b_slider.leftText = @"00:00";
b_slider.rightText = @"12:00";
b_slider.titleColor = [UIColor whiteColor];
[self.view addSubview:b_slider];
- Email: changsanjiang@gmail.com
- QQ: 1779609779
- QQGroup: 719616775