易一:
[_slider setThumbImage:[UIImage new] forState:UIControlStateNormal];
Run Code Online (Sandbox Code Playgroud)
小智 6
只需将拇指的图像设置为零即可
UIImage *empty = [UIImage new];
[theSlider setMinimumTrackImage:[UIImage alloc] forState:UIControlStateNormal];
[theSlider setMaximumTrackImage:[UIImage alloc] forState:UIControlStateNormal];
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4725 次 |
| 最近记录: |