更新时间:2023-09-22 09:45:22
See the UISlider class reference. You want to set setThumbImage:forState:
as well as setMinimumTrackImage:forState:
and setMaximumTrackImage:forState:
. Use the same images for the minimum and maximum track images, and use UIControlStateNormal
for the state.