且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在UISlider上放置图像?

更新时间: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.