Customizing UISlider look

前端 未结 7 579
萌比男神i
萌比男神i 2020-12-10 14:30

To customize the visual look of a UISlider you can set the thumb and track images. Part of the track images gets stretched to the appropriate with. From the documentation:

7条回答
  •  青春惊慌失措
    2020-12-10 15:06

    You could just create the images to be as wide as you need them to be, with the pattern pre-rendered.

提交回复
热议问题